select Route
open override fun selectRoute(network: GuidedPathNetwork, fromZone: Zone, travellingForward: Boolean, toIntersection: GuidedPathNetwork.Intersection): List<Zone>(source)
The zones the transporter should cross, in order, ending at the destination's zone.
Return
the zones to cross, never empty unless the transporter is already there
Parameters
network
the network being travelled, which may be consulted for occupancy
from Zone
the zone the transporter holds now, which is not part of the returned sequence
travelling Forward
the direction the transporter faces when it sits on a link zone, meaningless when it sits at an intersection
to Intersection
where it is going