org.optaplanner.examples.vehiclerouting.domain.solver
Class VehicleUpdatingVariableListener
java.lang.Object
org.optaplanner.examples.vehiclerouting.domain.solver.VehicleUpdatingVariableListener
- All Implemented Interfaces:
- PlanningVariableListener<VrpCustomer>
public class VehicleUpdatingVariableListener
- extends Object
- implements PlanningVariableListener<VrpCustomer>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VehicleUpdatingVariableListener
public VehicleUpdatingVariableListener()
beforeEntityAdded
public void beforeEntityAdded(ScoreDirector scoreDirector,
VrpCustomer customer)
- Specified by:
beforeEntityAdded
in interface PlanningVariableListener<VrpCustomer>
afterEntityAdded
public void afterEntityAdded(ScoreDirector scoreDirector,
VrpCustomer customer)
- Specified by:
afterEntityAdded
in interface PlanningVariableListener<VrpCustomer>
beforeVariableChanged
public void beforeVariableChanged(ScoreDirector scoreDirector,
VrpCustomer customer)
- Specified by:
beforeVariableChanged
in interface PlanningVariableListener<VrpCustomer>
afterVariableChanged
public void afterVariableChanged(ScoreDirector scoreDirector,
VrpCustomer customer)
- Specified by:
afterVariableChanged
in interface PlanningVariableListener<VrpCustomer>
beforeEntityRemoved
public void beforeEntityRemoved(ScoreDirector scoreDirector,
VrpCustomer customer)
- Specified by:
beforeEntityRemoved
in interface PlanningVariableListener<VrpCustomer>
afterEntityRemoved
public void afterEntityRemoved(ScoreDirector scoreDirector,
VrpCustomer customer)
- Specified by:
afterEntityRemoved
in interface PlanningVariableListener<VrpCustomer>
updateVehicle
protected void updateVehicle(ScoreDirector scoreDirector,
VrpCustomer sourceCustomer)
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.