scalation.simulation.agent.Route
The Route
class provides a multi-lane pathway between two vertices (motion on multiple edges). A Route
is a composite edge that bundles several Transport
s.
Value parameters
_name
the name of the route
director
the Model
directing the simulation
from
the starting vertex
k
the number of lanes/transports in the route
moveRV
the movement random variate
prop
the properties (Map) of this transport
to
the ending vertex
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Members list
Change lanes for the current lane l1 to the new lane l2 and return the agent ahead.
Change lanes for the current lane l1 to the new lane l2 and return the agent ahead.
Value parameters
agent
the agent changing lanes
l1
the agent's current lane
l2
the agent's new lane
Attributes
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Attributes
Definition Classes
Inherited from:
Identifiable
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
Definition Classes
Inherited from:
Identifiable
Return the full identity.
Return the full identity.
Attributes
Inherited from:
Identifiable
Value parameters
name
the name to assign
Attributes
Inherited from:
Identifiable
Get the type of the simulation object.
Get the type of the simulation object.
Attributes
Inherited from:
Identifiable
The globally unique integer identifier
The globally unique integer identifier
Attributes
Inherited from:
Identifiable