Packages

object Source

The Source companion object provides a builder method for sources.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Source
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(name: String, director: Model, makeEntity: () ⇒ SimActor, esubtype: Int, units: Int, iArrivalTime: Variate, xy: (Int, Int)): Source

    Create a source using defaults for width 'w' and height 'h'.

    Create a source using defaults for width 'w' and height 'h'.

    name

    the name of the source

    director

    the director controlling the model

    makeEntity

    the function to make entities of a specified type

    esubtype

    indicator of the subtype of the entities to me made

    units

    the number of entities to make

    iArrivalTime

    the inter-arrival time distribution

    xy

    the (x, y) coordinates for the top-left corner of the source.

  2. def group(director: Model, makeEntity: () ⇒ SimActor, units: Int, xy: (Int, Int), src: (String, Int, Variate, (Int, Int))*): List[Source]

    Create a group of related sources using defaults for width 'w' and height 'h'.

    Create a group of related sources using defaults for width 'w' and height 'h'.

    director

    the director controlling the model

    makeEntity

    the function to make entities of a specified type

    units

    the number of entities to make

    xy

    the (x, y) coordinates for the top-left corner of the reference source.

    src

    repeated source specific info: name, subtype, distribution, offset