Guided Transporter
Constructors
Properties
The link holding the transporter up, or null when it is waiting for a zone instead, or not waiting at all.
The zone the transporter is waiting for, or null when it is not waiting.
How much of the capacity was used, as a time-weighted fraction.
The zone the transporter has reserved and is travelling into, or null when it is not moving.
The zones the transporter covers, from the rear of the vehicle to its front. Contiguous along its direction of travel, and no longer than its length once it is fully on the guide path.
Where the transporter is, for animation and for updating what it carries.
The route being followed, or null when the transporter is not travelling.
How far this transporter has travelled in this replication, in the network's own length units, including the part of a traversal still under way.
The fraction of time the transporter was full.
The fraction of time spent unable to claim the space ahead. The statistic a free-path model cannot produce, and the one that says how much a fleet is getting in its own way.
The fraction of time spent travelling, for or without an entity.
The fraction of time spent travelling with nothing aboard.
The fraction of time spent travelling with an entity aboard.
How many units of itself the transporter has to give: one when it is in service, zero when it is not.
Where this transporter stands at the start of every replication.
True when it can take no more.
True when anything at all is aboard.
Whether this transporter could be sent somewhere if it were asked right now.
True while this transporter has been taken off shift.
True when nothing in the model will make this transporter move again by itself: it carries nobody, has no route under way, and is not itself waiting for anything.
True while something other than this transporter is moving it.
How many whole zones it covers; one unless it was sized in zones.
How many loads it may carry at once, which is not its resource capacity.
How many loads were aboard each time a loaded movement began.
The loads currently aboard, in the order they were taken on.
How many loads are aboard.
The mean number of loads aboard, over the replication. Null for a single-load transporter.
How many times the transporter has been unable to claim the space ahead.
How long this transporter has been anything other than idle in this replication.
Its length in the network's own units, or null when it was sized in zones instead.
Where it is now, taken from the zone it holds rather than from currentLocation.
How many more this transporter could take.
What the transporter is doing. Named apart from the resource state it inherits, which says whether the resource is busy or idle rather than what the vehicle is up to.
The direction it faces on a link, which decides where it may go next.
The velocity source.
How often the velocity is drawn when it is random.
How many zones this transporter has entered in this replication.
Functions
Asks to be told whenever this transporter reaches the end of a route.
Installs the gate that is asked, at every zone boundary, whether this transporter may carry on. Replaces any gate already installed; pass null to remove it.
Commands a journey with this transporter's own agent or driver as the waiter.
Stops telling a listener about arrivals.
Takes this transporter off shift: it cannot be allocated again until goOnShift, and requests for it wait in whatever pool queue they were made against.
This method should be overridden by subclasses that need actions performed to initialize prior to a replication. It is called once before each replication occurs if the model element wants initialization. It is called after beforeReplication() is called
True when the vehicle could get to destination at all. Always true where every place is.
Distance along the guide path, which on a one-way network is not separation in space.
Starts a halted vehicle again from where it stopped. Harmless on one that is not halted.