plan

abstract fun plan(context: TourContext, remaining: List<TourStop>, insert: List<TourStop>): List<TourStop>(source)

Return

the new order of all of them

Parameters

context

the vehicle and the layout

remaining

the stops the vehicle has still to make, in their current order

insert

the stops a newly committed task requires, pickup first