Packages

  • package root
    Definition Classes
    root
  • package scalation
    Definition Classes
    root
  • package process

    The process package contains classes, traits and objects for process-oriented simulation models (for example, process-interaction).

    The process package contains classes, traits and objects for process-oriented simulation models (for example, process-interaction).

    Definition Classes
    scalation
  • object RouteTest extends App

    The RouteTest object is used to test the Route class, which is a composite class.

    The RouteTest object is used to test the Route class, which is a composite class. It simulates a two-lane road in one direction.

    Definition Classes
    process
  • class RouteModel extends Model
    Definition Classes
    RouteTest
  • Car

case class Car() extends SimActor with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, SimActor, Locatable, Ordered[SimActor], Comparable[SimActor], PQItem, Identifiable, Coroutine, Error, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Car
  2. Serializable
  3. Product
  4. Equals
  5. SimActor
  6. Locatable
  7. Ordered
  8. Comparable
  9. PQItem
  10. Identifiable
  11. Coroutine
  12. Error
  13. Runnable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Car()

Value Members

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

    The abstract method, 'act', is defined in each subclass to provide specific behavior.

    The abstract method, 'act', is defined in each subclass to provide specific behavior.

    Definition Classes
    CarSimActorCoroutine
  9. val actTime: Double
    Definition Classes
    PQItem
  10. var arrivalT: Double

    The time at which 'this' entity (SimActor) arrived

    The time at which 'this' entity (SimActor) arrived

    Definition Classes
    SimActor
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def at: Array[Double]
    Definition Classes
    Locatable
  13. def at_=(at: Array[Double]): Unit
    Definition Classes
    Locatable
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  15. def compare(actor2: SimActor): Int

    Compare the activation times of the two actors, 'this' and 'actor2'.

    Compare the activation times of the two actors, 'this' and 'actor2'. Their activation times are used to order them in the director's agenda (a time-based priority queue).

    actor2

    the other actor to compare with this

    Definition Classes
    SimActor → Ordered
  16. def compare(other: PQItem): Int
    Definition Classes
    PQItem
  17. def compareTo(that: SimActor): Int
    Definition Classes
    Ordered → Comparable
  18. def counts: (Int, Int, Int)

    Return the Coroutine counts.

    Return the Coroutine counts.

    Definition Classes
    Coroutine
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  21. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  24. val id: Int
    Definition Classes
    Identifiable
  25. def interrupt(): Unit

    Interrupt this waiting coroutine.

    Interrupt this waiting coroutine.

    Definition Classes
    Coroutine
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def me: String
    Definition Classes
    Identifiable
  28. var mySource: Source

    The indicator of subtype of 'this' entity (SimActor)

    The indicator of subtype of 'this' entity (SimActor)

    Definition Classes
    SimActor
  29. def name: String
    Definition Classes
    Identifiable
  30. def name_=(name: String): Unit
    Definition Classes
    Identifiable
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. def run(): Unit

    Thread's 'run' method delegates to the 'act' method.

    Thread's 'run' method delegates to the 'act' method. Upon interruption the 'act' method is run again from the beginning.

    Definition Classes
    Coroutine → Runnable
  36. def schedule(delay: Double): Unit

    Schedule a reactivation of 'this' SimActor delay time units in the future.

    Schedule a reactivation of 'this' SimActor delay time units in the future.

    delay

    the time delay before reactivation

    Definition Classes
    SimActor
  37. def simType: String
    Definition Classes
    Identifiable
  38. def start(): Future[_]

    Start this coroutine, i.e., invoke its 'run' -> 'act' method.

    Start this coroutine, i.e., invoke its 'run' -> 'act' method. This function returns a future.

    Definition Classes
    Coroutine
  39. var subtype: Int

    The indicator of subtype of 'this' entity (SimActor)

    The indicator of subtype of 'this' entity (SimActor)

    Definition Classes
    SimActor
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String

    Show the SimActors full name and activation time.

    Show the SimActors full name and activation time.

    Definition Classes
    SimActor → PQItem → AnyRef → Any
  42. def trajectory: Double

    Get the current trajectory (along the QCurve) of 'this' SimActor.

    Get the current trajectory (along the QCurve) of 'this' SimActor.

    Definition Classes
    SimActor
  43. def trajectory_=(trajectory: Double): Unit

    Set the value of the trajectory along the QCurve for 'this' SimActor.

    Set the value of the trajectory along the QCurve for 'this' SimActor.

    Definition Classes
    SimActor
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. def yieldToDirector(quit: Boolean = false): Unit

    Yield control to the director so the director can take the next action.

    Yield control to the director so the director can take the next action.

    quit

    the flag indicating whether this actor is done

    Definition Classes
    SimActor
  48. def yyield(that: Coroutine, quit: Boolean = false): Unit

    Yield control from 'this' to 'that' coroutine.

    Yield control from 'this' to 'that' coroutine.

    that

    the other coroutine to yield control to

    quit

    whether 'this' coroutine is to terminate (true) or wait to be resumed (false)

    Definition Classes
    Coroutine

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SimActor

Inherited from Locatable

Inherited from Ordered[SimActor]

Inherited from Comparable[SimActor]

Inherited from PQItem

Inherited from Identifiable

Inherited from Coroutine

Inherited from Error

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped