Packages

class EventNode extends Event

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.

Linear Supertypes
Event, Ordered[Event], Comparable[Event], Identifiable, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventNode
  2. Event
  3. Ordered
  4. Comparable
  5. Identifiable
  6. Error
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EventNode(director: Model, at: Array[Double] = Array ())

    director

    the controller/scheduler that this event node is a part of

    at

    the location of this event node

Value Members

  1. def <(that: Event): Boolean
    Definition Classes
    Ordered
  2. def <=(that: Event): Boolean
    Definition Classes
    Ordered
  3. def >(that: Event): Boolean
    Definition Classes
    Ordered
  4. def >=(that: Event): Boolean
    Definition Classes
    Ordered
  5. val actTime: Double

    The activation/occurrence time for the event

    The activation/occurrence time for the event

    Definition Classes
    Event
  6. def cancel(): Unit

    Cancel 'this' event.

    Cancel 'this' event.

    Definition Classes
    Event
  7. def compare(ev: Event): Int

    Compare the activation times of the two events ('ev' and 'this').

    Compare the activation times of the two events ('ev' and 'this').

    ev

    the other event

    Definition Classes
    Event → Ordered
  8. def compareTo(that: Event): Int
    Definition Classes
    Ordered → Comparable
  9. def displayLinks(links: Array[CausalLink]): Unit

    Tell the animation engine to display this node's outgoing CausalLink's as edges.

  10. val entity: Entity
    Definition Classes
    Event
  11. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  12. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  13. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  14. val id: Int
    Definition Classes
    Identifiable
  15. def live: Boolean

    Return whether this event is live (i.e., not cancelled).

    Return whether this event is live (i.e., not cancelled).

    Definition Classes
    Event
  16. def me: String
    Definition Classes
    Identifiable
  17. def name: String
    Definition Classes
    Identifiable
  18. def name_=(name: String): Unit
    Definition Classes
    Identifiable
  19. def occur(): Unit

    Execute this event where the event-logic is specified in the 'occur' method.

    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.

    Definition Classes
    EventNodeEvent
  20. val proto: EventNode
    Definition Classes
    Event
  21. def simType: String
    Definition Classes
    Identifiable
  22. def toString(): String

    Convert the event to a string.

    Convert the event to a string.

    Definition Classes
    Event → AnyRef → Any