OptaPlanner examples 6.2.0.CR1

org.optaplanner.examples.vehiclerouting.domain.timewindowed.solver
Class ArrivalTimeUpdatingVariableListener

java.lang.Object
  extended by org.optaplanner.examples.vehiclerouting.domain.timewindowed.solver.ArrivalTimeUpdatingVariableListener
All Implemented Interfaces:
org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>

public class ArrivalTimeUpdatingVariableListener
extends Object
implements org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>


Constructor Summary
ArrivalTimeUpdatingVariableListener()
           
 
Method Summary
 void afterEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Customer customer)
           
 void afterEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Customer customer)
           
 void afterVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Customer customer)
           
 void beforeEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Customer customer)
           
 void beforeEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Customer customer)
           
 void beforeVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Customer customer)
           
protected  void updateVehicle(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, TimeWindowedCustomer sourceCustomer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrivalTimeUpdatingVariableListener

public ArrivalTimeUpdatingVariableListener()
Method Detail

beforeEntityAdded

public void beforeEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                              Customer customer)
Specified by:
beforeEntityAdded in interface org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>

afterEntityAdded

public void afterEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                             Customer customer)
Specified by:
afterEntityAdded in interface org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>

beforeVariableChanged

public void beforeVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                                  Customer customer)
Specified by:
beforeVariableChanged in interface org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>

afterVariableChanged

public void afterVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                                 Customer customer)
Specified by:
afterVariableChanged in interface org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>

beforeEntityRemoved

public void beforeEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                                Customer customer)
Specified by:
beforeEntityRemoved in interface org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>

afterEntityRemoved

public void afterEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                               Customer customer)
Specified by:
afterEntityRemoved in interface org.optaplanner.core.impl.domain.variable.listener.VariableListener<Customer>

updateVehicle

protected void updateVehicle(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                             TimeWindowedCustomer sourceCustomer)

OptaPlanner examples 6.2.0.CR1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.