diff --git a/README.md b/README.md index 7048533..7bedd3a 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,7 @@ def example_mm1(): queue = jmt.Queue(model, "myQueue", jmt.SchedStrategy.FCFS) sink = jmt.Sink(model, "mySink") - # An open class with priority of 2 - openclass = jmt.OpenClass(model, "Class1", 2) + openclass = jmt.OpenClass(model, "Class1") source.setArrival(openclass, jmt.Exp(0.5)) queue.setService(openclass, jmt.Exp(1.0)) diff --git a/getting_started.py b/getting_started.py index e5089ac..34d9d62 100644 --- a/getting_started.py +++ b/getting_started.py @@ -6,8 +6,8 @@ def example_mm1(): queue = jmt.Queue(model, "myQueue", jmt.SchedStrategy.FCFS) sink = jmt.Sink(model, "mySink") - # An open class with priority of 2 - openclass = jmt.OpenClass(model, "Class1", 2) + # An open class + openclass = jmt.OpenClass(model, "Class1") source.setArrival(openclass, jmt.Exp(0.5)) queue.setService(openclass, jmt.Exp(1.0))