GuidedTransportResult

data class GuidedTransportResult(val totalTime: Double, val approachTime: Double, val rideTime: Double, val blockedTime: Double, val zonesTraversed: Int, val routeLength: Double)(source)

What happened during one journey.

Returned to the process rather than only accumulated into statistics, because the entity is suspended for the whole journey and has no other way to learn what became of it. Time spent unable to claim the space ahead is the quantity of interest: it is what a free-path model cannot produce at all, and what says whether a fleet is getting in its own way.

Parameters

totalTime

the whole journey, from the request to arrival at the destination

approachTime

from the transporter being committed until the entity is aboard, excluding the loading delay. A protocol interval: whether the transporter was empty during it is a separate question, and one the transporter's own fracTimeMovingEmpty answers.

rideTime

from the entity being aboard until it is set down, excluding the unloading delay

blockedTime

time within the journey spent unable to claim the space ahead

zonesTraversed

how many zones the transporter crossed while carrying the entity

routeLength

the distance covered while carrying the entity

Constructors

Link copied to clipboard
constructor(totalTime: Double, approachTime: Double, rideTime: Double, blockedTime: Double, zonesTraversed: Int, routeLength: Double)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String