Recorder

scalation.simulation.process.Recorder
trait Recorder(nt: Int)

The Recorder trait allows Nodes to easily record the flow of actors/entities (e.g., vehicles) in terms of counts and optionally average speed.

Value parameters

nt

the number of time intervals

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Junction
class Sink
class Source
class VSource

Members list

Value members

Concrete methods

def record(actor: SimActor, ctime: Double): Unit

Record the entity and optionally its speed.

Record the entity and optionally its speed.

Value parameters

ctime

the clock time the entity entered the component (e.g., Sink)

speed

the speed at which entity entered the component (e.g., Sink)

Attributes