PickUpAllThenDeliverAllPolicy

Collect everything first, then deliver everything.

A milk run in the literal sense, and the shape a real collection round often has: a vehicle goes out light, fills up, and comes back. It is easier to explain than cheapest insertion and usually worse, which is why it is here as the comparison rather than as the default.

Pickups keep the order they were committed in, and so do set-downs.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun plan(context: TourContext, remaining: List<TourStop>, insert: List<TourStop>): List<TourStop>
Link copied to clipboard
open override fun toString(): String