Guided Transporter Allocation Rule Ifc
Chooses which idle transporter is sent to collect an entity.
Dispatching is one of the two decisions that most affect how a guide path performs, and it is the one most often varied in a study, so it is a replaceable rule rather than a fixed policy.
A rule must choose from the candidates it is given, all of which are idle. It must not move, allocate, or otherwise disturb anything: it decides only. And it must be a pure function of what it is given, or take its randomness from a stream the model controls, or the run stops being reproducible.
Inheritors
Functions
Link copied to clipboard
abstract fun selectTransporter(network: GuidedPathNetwork, pickup: GuidedPathNetwork.Intersection, candidates: List<GuidedTransporter>): GuidedTransporter