TransitResult

constructor(totalTime: Double, waitForVehicle: Double, timeAboard: Double, origin: String, destination: String, vehicleName: String, numVehiclesPassed: Int)(source)

Parameters

totalTime

joining the line at the origin stop until being set down

waitForVehicle

joining the line until aboard. At an interchange this is the connection time, which is why a transfer needs no machinery of its own: a rider whose process rides, then rides again, reports the connection as the second ride's wait

timeAboard

aboard until set down

origin

the stop it boarded at

destination

where it was set down

vehicleName

which vehicle carried it

numVehiclesPassed

how many vehicles served the origin stop while it waited and left it standing, for want of room. The per-rider counterpart of the stop's NumPassedByFull, and the thing a capacity study is usually about