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 Transports and the 'nodes' are other Components.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Transport
  2. Component
  3. Locatable
  4. Identifiable
  5. Error
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transport(name: String, from: Component, to: Component, motion: Variate, isSpeed: Boolean = false, bend: Double = 0.0, shift1: R2 = ..., shift2: R2 = ...)

    name

    the name of the transport

    from

    the first/starting component

    to

    the second/ending component

    motion

    the speed/trip-time to move down the transport

    isSpeed

    whether speed or trip-time is used for motion

    bend

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

    shift1

    the x-y shift for the transport's first endpoint (from-side)

    shift2

    the x-y shift for the transport's second endpoint (to-side)

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 accum(value: Double): Unit

    Accumulate the value (e.

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

    value

    the value to accumulate

    Definition Classes
    Component
  9. def aggregate(): Unit

    Aggregate the statistics of this component's subparts.

    Aggregate the statistics of this component's subparts.

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

    Definition Classes
    Any
  11. 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
    TransportLocatable
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def composite: Boolean

    Indicate whether this component is composite, i.

    Indicate whether this component is composite, i.e., has subparts.

    Definition Classes
    Component
  14. val curve: QCurve

  15. 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
  16. def display(): Unit

    Tell the animation engine to display this Transport.

    Tell the animation engine to display this Transport.

    Definition Classes
    TransportComponent
  17. 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
  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. val from: Component

    the first/starting component

  23. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  25. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

    Definition Classes
    Identifiable
  26. 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
  27. def initStats(label: String): Unit

    Initialize this component's statistical collectors.

    Initialize this component's statistical collectors. Sample statistics: all Components. Time-persistent statistics: all except Gate, Source and Sink.

    label

    the name of this component

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

    Definition Classes
    Any
  29. 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.

  30. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identifiable
  31. 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).

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

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

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

    Definition Classes
    AnyRef
  35. val p1: R2

  36. val p2: R2

  37. val pc: R2

  38. 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
  39. def setAt(loc: Array[Double]): Unit

    Set the location of this object.

    Set the location of this object.

    loc

    the location of this object

    Definition Classes
    Locatable
  40. 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
  41. def setName(label: String): Unit

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identifiable
  42. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

    Definition Classes
    Identifiable
  43. val subpart: ListBuffer[Component]

    List of subparts of the Component (empty for atomics, nonempty for composites)

    List of subparts of the Component (empty for atomics, nonempty for composites)

    Definition Classes
    Component
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. 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
  46. val to: Component

    the second/ending component

  47. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Component

Inherited from Locatable

Inherited from Identifiable

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped