Packages

t

scalation.process

Component

trait Component extends Identifiable with Locatable

The Component trait provides basic common feature for simulation components. The list of subparts is empty for atomic components and nonempty for composite components.

Linear Supertypes
Locatable, Identifiable, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Component
  2. Locatable
  3. Identifiable
  4. Error
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def display(): Unit

    Abstract display method.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DIAM: Double

    Diameter of a token (for animating entities)

  5. val RAD: Double

    Radius of a token (for animating entities)

  6. def accum(value: Double): Unit

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

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

    value

    the value to accumulate

  7. def aggregate(): Unit

    Aggregate the statistics of this component's subparts.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def at: Array[Double]
    Definition Classes
    Locatable
  10. def at_=(at: Array[Double]): Unit
    Definition Classes
    Locatable
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def composite: Boolean

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

  13. def director: Model

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

  14. def director_=(director: Model): Unit

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

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

    director

    the director of the play/simulation

  15. def durationStat: Statistic

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

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  22. val id: Int
    Definition Classes
    Identifiable
  23. def initComponent(label: String, loc: Array[Double]): Unit

    Initialize this component (all of its 'var's).

    Initialize this component (all of its 'var's).

    label

    the name of this component

    loc

    the location of this component

  24. 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

  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  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
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  32. def persistentStat: TimeStatistic

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

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

  33. def simType: String
    Definition Classes
    Identifiable
  34. val subpart: ListBuffer[Component]

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

  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def tally(duration: Double): Unit

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

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

    duration

    the time duration

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

Inherited from Locatable

Inherited from Identifiable

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped