The EventNode
class provides facilities for representing simulation events graphically. It extends the Event
class with animation capabilities. Note: unique identification is mixed in via the Identifiable
trait in the Event
superclass.
Value parameters
- at
-
the location of this event node
- director
-
the controller/scheduler that this event node is a part of
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Eventtrait Ordered[Event]trait Comparable[Event]trait Identifiableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Tell the animation engine to display this node's outgoing CausalLink
's as edges.
Tell the animation engine to display this node's outgoing CausalLink
's as edges.
Attributes
Execute this event where the event-logic is specified in the 'occur' method. This method is abstract, so it must be implemented in subclasses and it (1) may schedule other events and (2) may specify state changes.
Execute this event where the event-logic is specified in the 'occur' method. This method is abstract, so it must be implemented in subclasses and it (1) may schedule other events and (2) may specify state changes.
Attributes
Inherited methods
Cancel 'this' event by marking it not live.
Compare the activation times (actTime) of the two events ('ev' and 'this'). Note: the order is reversed since Scala's Priority Queue is Highest Priority First (HPF).
Compare the activation times (actTime) of the two events ('ev' and 'this'). Note: the order is reversed since Scala's Priority Queue is Highest Priority First (HPF).
Value parameters
- ev
-
the other event
Attributes
- Inherited from:
- Event
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return whether this event is live (i.e., not cancelled).
Return the full identity.
Get the name.
Set the name.
Get the type of the simulation object.
Inherited fields
The activation/occurrence time for the event
The globally unique integer identifier