Package-level declarations
Types
Serve every stop, as soon as you reach it. The default, and what every fleet did before there was a control to ask.
Append each new task's stops to the end, changing nothing already planned.
The subsystem's principal extension point: who gets sent where.
Wait for a window, then assign everything that accumulated during it, together.
A vehicle's offer.
What a vehicle offers when a dispatcher calls for proposals.
Longest-waiting first, regardless of priority.
Higher priority first, ties broken by how long the task has waited.
A dispatcher's invitation to bid on a task.
Refuses any assignment a vehicle could not finish and still reach a charger.
Send the vehicle to charge when it is low, and otherwise do whatever another policy says.
Put each new stop wherever it adds least travel, subject to precedence and capacity.
Bid the time to finish the whole job: travel to the pickup, then carry the load to its destination, at this vehicle's own velocity.
Fill a vehicle that has room, rather than giving it one task and moving on.
Award each task by Contract-Net auction: the dispatcher calls for proposals, the vehicles bid, the best bid wins.
Bid distance, but decline outright when already carrying out a task.
What a policy is given, and the only things it may do.
Ask the dispatcher, and do what it says.
What a vehicle does with itself when the dispatcher has no work for it.
Decides what an idle vehicle does with itself.
The vehicle-to-task matchings available at this instant, as something a policy can enumerate and search rather than a predicate it applies after guessing.
Queue order, unchanged. The default, and the one that makes the queue discipline the whole rule.
Send the vehicle furthest from the pickup.
Send whichever available vehicle has completed the fewest tasks so far.
Send the vehicle to a named staging point.
Send the vehicle nearest the pickup, measured along the guide path.
Bid the distance to the pickup, and decline when it is unreachable.
Leave the vehicle where it stopped. See the warning on ReturnToHomeBaseDisposition.
Collect everything first, then deliver everything.
The first available vehicle takes the first unassigned task.
Send a uniformly chosen available vehicle.
Takes a task back from a vehicle when a materially better pairing has become available.
Asks the dispatcher to look at the board again whenever a vehicle stops or comes back.
Send the vehicle home. The default, and the safe one.
Scores every feasible pairing and takes the best.
Determines the order in which an assignment policy is shown the outstanding tasks.
Hold at each stop until its scheduled departure, measured from the start of the cycle.
What a tour policy is given to decide with.
The order a vehicle visits the stops it has committed to.
Somebody free walks to the stopped vehicle, looks at it, and pushes it out of the aisle if it is in anybody's way.
Properties
Functions
The policy a name stands for, made fresh -- which matters for a policy that carries state between decisions, so that one never inherits the end of a run it was not part of.
The default award rule: lowest bid, ties broken by vehicle name.
The name of a policy, or null when it is one no name stands for.