Class UpdateVariableCosts

java.lang.Object
com.graphhopper.jsprit.core.algorithm.state.UpdateVariableCosts
All Implemented Interfaces:
StateUpdater, ActivityVisitor

public class UpdateVariableCosts extends Object implements ActivityVisitor, StateUpdater
Updates total costs (i.e. transport and activity costs) at route and activity level.

Thus it modifies stateManager.getRouteState(route, StateTypes.COSTS) and
stateManager.getActivityState(activity, StateTypes.COSTS)