VSource

scalation.simulation.process.VSource
See theVSource companion class
object VSource

The VSource companion object provides a builder method for sources.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
VSource.type

Members list

Value members

Concrete methods

def apply(name: String, director: Model, makeEntity: () => Vehicle, esubtype: Int, units: Int, iArrivalTime: Variate, xy: (Int, Int)): VSource

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

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

Value parameters

director

the director controlling the model

esubtype

indicator of the subtype of the entities to me made

iArrivalTime

the inter-arrival time distribution

makeEntity

the function to make entities of a specified type

name

the name of the source

units

the number of entities to make

xy

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

Attributes

def group(director: Model, makeEntity: () => Vehicle, units: Int, xy: (Int, Int), src: (String, Int, Variate, (Int, Int))*): List[VSource]

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

Value parameters

director

the director controlling the model

makeEntity

the function to make entities of a specified type

src

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

units

the number of entities to make

xy

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

Attributes