public class Scheduler extends NamedObject
| Constructor and Description |
|---|
Scheduler(Experiment exp,
java.lang.String name,
EventList eventList)
Constructs a scheduler with given name and the event-list (i.e. inheritor
of
desmoj.core.simulator.EventList) to use. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRandomizingConcurrentEvents()
Returns if the event-list processes concurrent Events in random order or
not.
|
java.lang.String |
toString()
Returns a string representation of the current state of the event-list.
|
getName, getQuotedNamepublic Scheduler(Experiment exp, java.lang.String name, EventList eventList)
desmoj.core.simulator.EventList) to use.exp - Experiment : The experiment that uses this Schedulername - java.lang.String : The scheduler's nameeventList - EventList : The event-list to store scheduled eventspublic boolean isRandomizingConcurrentEvents()
true if concurrent Events are randomized,
false otherwisepublic java.lang.String toString()
toString() methods.toString in class NamedObject