scalation.event.ModelTest.PhoneModel

Departure

case class Departure(call: Entity) extends Event with Product with Serializable

Create a subclass of Event for Departure events.

call

the entity that departs, in this case a phone call

Linear Supertypes
Serializable, Serializable, Product, Equals, Event, Ordered[Event], Comparable[Event], PQItem, Identity, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Departure
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Event
  7. Ordered
  8. Comparable
  9. PQItem
  10. Identity
  11. Error
  12. AnyRef
  13. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Departure(call: Entity)

    call

    the entity that departs, in this case a phone call

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. var actTime: Double

    The activation time for the item in the time-ordered priority queue

    The activation time for the item in the time-ordered priority queue

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

    Definition Classes
    Any
  12. val call: Entity

    the entity that departs, in this case a phone call

  13. def canEqual(arg0: Any): Boolean

    Definition Classes
    Departure → Equals
  14. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def compare(ev: Event): Int

    Compare the activation times of the two events.

    Compare the activation times of the two events.

    Definition Classes
    Event → Ordered
  16. def compare(other: PQItem): Int

    Compare two items (PQItems) based on their actTime.

    Compare two items (PQItems) based on their actTime.

    other

    the other item to compare with this item

    Definition Classes
    PQItem
  17. def compareTo(that: Event): Int

    Definition Classes
    Ordered → Comparable
  18. def display(): Unit

    Tell the animation engine to display this Event as a node.

    Tell the animation engine to display this Event as a node.

    Definition Classes
    Event
  19. def displayLinks(outLinks: Array[CausalLink]): Unit

    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.

    outLinks

    this nodes outgoing causal links

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

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

    Definition Classes
    Departure → Equals → AnyRef → Any
  22. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. 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
  24. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    Departure → AnyRef → Any
  26. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

    Definition Classes
    Identity
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identity
  29. def name: String

    Get the name.

    Get the name.

    Definition Classes
    Identity
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  33. def occur(): Unit

    Execute the event where the event-logic is specified as follows: (i) Each model will define causal links that connect events.

    Execute the event where the event-logic is specified as follows: (i) Each model will define causal links that connect events. One event may schedule other events, depending upon whether the respective causal link evaluates to true. (ii) Each model defines its own events (e.g., Arrival, Departure) that must override this occur method to specify the state changes. If such events may cause other events, they must call this occur method (via super.occur).

    Definition Classes
    DepartureEvent
  34. def productArity: Int

    Definition Classes
    Departure → Product
  35. def productElement(arg0: Int): Any

    Definition Classes
    Departure → Product
  36. def productIterator: Iterator[Any]

    Definition Classes
    Product
  37. def productPrefix: String

    Definition Classes
    Departure → Product
  38. val proto: Event

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

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identity
  40. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

    Definition Classes
    Identity
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Convert the event to a string.

    Convert the event to a string.

    Definition Classes
    EventPQItem → AnyRef → Any
  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Event

Inherited from Ordered[Event]

Inherited from Comparable[Event]

Inherited from PQItem

Inherited from Identity

Inherited from Error

Inherited from AnyRef

Inherited from Any