scalation.process

Transport

class Transport extends Component

The Transport class provides a pathway between two other components. The Components in a Model conceptually form a 'graph' in which the 'edges' are Transport objects and the 'nodes' are other Component objects.

Linear Supertypes
Component, Identity, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Transport
  2. Component
  3. Identity
  4. Error
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transport(name: String, tripTime: Variate, from: Component, to: Component, bend: Double = 0.0)

    name

    the name of the transport

    tripTime

    the time to move down the transport

    from

    the starting component

    to

    the ending component

    bend

    the bend or curvature of the transport (0 => line)

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. val DIAM: Double

    Diameter of a token (for animating entities)

    Diameter of a token (for animating entities)

    Definition Classes
    Component
  7. val RAD: Double

    Radius of a token (for animating entities)

    Radius of a token (for animating entities)

    Definition Classes
    Component
  8. def accumulate(value: Double, time: Double): Unit

    Accumulate the value (e.

    Accumulate the value (e.g., number in queue) weighted by its time duration.

    value

    the value to accumulate

    time

    the current time of the observation

    Definition Classes
    Component
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def at: Array[Double]

    Give the location of the curve to be its starting point.

    Give the location of the curve to be its starting point.

    Definition Classes
    TransportComponent
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def director: Model

    Return the director who controls the play/simulation this component is in.

    Return the director who controls the play/simulation this component is in.

    Definition Classes
    Component
  13. def display(): Unit

    Tell the animation engine to display this Transport.

    Tell the animation engine to display this Transport.

    Definition Classes
    TransportComponent
  14. def durationStat: Statistic

    Return sample statistics for durations for this component (e.

    Return sample statistics for durations for this component (e.g., Time in queue).

    Definition Classes
    Component
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  21. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

    Definition Classes
    Identity
  22. def initComponent(label: String, loc: Array[Double]): Unit

    Initialize this component (all of its vars).

    Initialize this component (all of its vars).

    label

    the name of this component

    loc

    the location of this component

    Definition Classes
    Component
  23. def initStats(label: String): Unit

    Initialize this component's statistical collectors.

    Initialize this component's statistical collectors.

    label

    the name of this component

    Definition Classes
    Component
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def jump(): Unit

    Jump the entity (SimActor) down this Transport.

    Jump the entity (SimActor) down this Transport. Place it in the middle of the Transport/Edge/QCurve for the entire trip time.

  26. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identity
  27. def move(): Unit

    Move the entity (SimActor) smoothly down this Transport.

    Move the entity (SimActor) smoothly down this Transport. Repeatedely move it along the Transport/Edge/QCurve. Caveat: tokens coordinates are computed using a shadow QCurve (same coordinates as the one that will be created by the animation engine).

  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. def persistentStat: TimeStatistic

    Return time persistent statistics for value for this component (e.

    Return time persistent statistics for value for this component (e.g. Number in queue).

    Definition Classes
    Component
  32. def setAt(loc: Array[Double]): Unit

    Set the location of this component.

    Set the location of this component.

    loc

    the location of this component

    Definition Classes
    Component
  33. def setDirector(dir: Model): Unit

    Set this component's director (the controller of the simulation model).

    Set this component's director (the controller of the simulation model).

    dir

    the director of the play/simulation

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

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identity
  35. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

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

    Definition Classes
    AnyRef
  37. def tally(duration: Double): Unit

    Tally the duration (e.

    Tally the duration (e.g., waiting time) of an activity or delay.

    duration

    the time duration

    Definition Classes
    Component
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Component

Inherited from Identity

Inherited from Error

Inherited from AnyRef

Inherited from Any