Packages

  • package root
    Definition Classes
    root
  • package scalation
    Definition Classes
    root
  • package event

    The event package contains classes, traits and objects for event oriented simulation models (for example, event scheduling or event graphs).

    The event package contains classes, traits and objects for event oriented simulation models (for example, event scheduling or event graphs).

    Definition Classes
    scalation
  • object ModelTest extends App

    The ModelTest object is used to test the Model class.

    The ModelTest object is used to test the Model class. > runMain scalation.event.ModelTest

    Definition Classes
    event
  • class PoissonModel extends Model

    The PoissonModel models the detection of particles (e.g., gamma rays) from the decay of radioactive atoms as a Poisson Process.

    The PoissonModel models the detection of particles (e.g., gamma rays) from the decay of radioactive atoms as a Poisson Process.

    Definition Classes
    ModelTest
    See also

    http://stuff.mit.edu/afs/sipb/user/biyeun/Public/8.13/poisson/poisson_statistics_biyeun.pdf

  • Arrival

case class Arrival(call: Entity, delay: Double) extends Event with Product with Serializable

Arrival is a subclass of EventNode for handling arrival events.

call

the entity that arrives, in this case a phone call

delay

the time delay for this event's occurrence

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

Instance Constructors

  1. new Arrival(call: Entity, delay: Double)

    call

    the entity that arrives, in this case a phone call

    delay

    the time delay for this event's occurrence

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: Event): Boolean
    Definition Classes
    Ordered
  4. def <=(that: Event): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: Event): Boolean
    Definition Classes
    Ordered
  7. def >=(that: Event): Boolean
    Definition Classes
    Ordered
  8. val actTime: Double

    The activation/occurrence time for the event

    The activation/occurrence time for the event

    Definition Classes
    Event
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val call: Entity
  11. def cancel(): Unit

    Cancel 'this' event.

    Cancel 'this' event.

    Definition Classes
    Event
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. 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
  14. def compareTo(that: Event): Int
    Definition Classes
    Ordered → Comparable
  15. val delay: Double
  16. val entity: Entity
    Definition Classes
    Event
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  23. val id: Int
    Definition Classes
    Identifiable
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. 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
  26. def me: String
    Definition Classes
    Identifiable
  27. def name: String
    Definition Classes
    Identifiable
  28. def name_=(name: String): Unit
    Definition Classes
    Identifiable
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  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 (1) may schedule other events and (2) may specify state changes.

    Definition Classes
    ArrivalEvent
  33. val proto: EventNode
    Definition Classes
    Event
  34. def simType: String
    Definition Classes
    Identifiable
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String

    Convert the event to a string.

    Convert the event to a string.

    Definition Classes
    Event → AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

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 Identifiable

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped