Note that this modifies arrTime and endTime of each activity in a route. @author stefan
104105106107108109110
* * @param route * @param transportTimes */ public static void updateActivityTimes(VehicleRoute route, TransportTime transportTimes){ new RouteActivityVisitor().addActivityVisitor(new UpdateActivityTimes(transportTimes)).visit(route); }
128129130131132133134135
return vehicles; } }); stateManager.addStateUpdater(timeWindow_updater); stateManager.addStateUpdater(new UpdateActivityTimes(routingCosts)); stateManager.informInsertionStarts(Arrays.asList(route), Collections.<Job>emptyList()); }