scalation.event

EventNode

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    director

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

    at

    the location of this event node

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def <(that: Event): Boolean

    Definition Classes
    Ordered
  5. def <=(that: Event): Boolean

    Definition Classes
    Ordered
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def >(that: Event): Boolean

    Definition Classes
    Ordered
  9. def >=(that: Event): Boolean

    Definition Classes
    Ordered
  10. val actTime: Double

    The activation/occurrence time for the event

    The activation/occurrence time for the event

    Definition Classes
    Event
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def cancel(): Unit

    Cancel 'this' event.

    Cancel 'this' event.

    Definition Classes
    Event
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. 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
  15. def compareTo(that: Event): Int

    Definition Classes
    Ordered → Comparable
  16. def displayLinks(links: Array[CausalLink]): Unit

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

  17. val entity: Entity

    Definition Classes
    Event
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

    Definition Classes
    Identifiable
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def live: Boolean

    Return whether this event is live (i.

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

    Definition Classes
    Event
  27. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identifiable
  28. def name: String

    Get the name.

    Get the name.

    Definition Classes
    Identifiable
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. 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 (i) may schedule other events and (ii) may specify state changes.

    Definition Classes
    EventNodeEvent
  33. val proto: EventNode

    Definition Classes
    Event
  34. def setName(label: String): Unit

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identifiable
  35. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

    Definition Classes
    Identifiable
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Convert the event to a string.

    Convert the event to a string.

    Definition Classes
    Event → AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Event

Inherited from Ordered[Event]

Inherited from Comparable[Event]

Inherited from Identifiable

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped