OptaPlanner distribution 6.1.0.Final

org.optaplanner.examples.examination.domain.solver
Class PeriodUpdatingVariableListener

java.lang.Object
  extended by org.optaplanner.examples.examination.domain.solver.PeriodUpdatingVariableListener
All Implemented Interfaces:
VariableListener<LeadingExam>

public class PeriodUpdatingVariableListener
extends Object
implements VariableListener<LeadingExam>


Constructor Summary
PeriodUpdatingVariableListener()
           
 
Method Summary
 void afterEntityAdded(ScoreDirector scoreDirector, LeadingExam leadingExam)
           
 void afterEntityRemoved(ScoreDirector scoreDirector, LeadingExam leadingExam)
           
 void afterVariableChanged(ScoreDirector scoreDirector, LeadingExam leadingExam)
           
 void beforeEntityAdded(ScoreDirector scoreDirector, LeadingExam leadingExam)
           
 void beforeEntityRemoved(ScoreDirector scoreDirector, LeadingExam leadingExam)
           
 void beforeVariableChanged(ScoreDirector scoreDirector, LeadingExam leadingExam)
           
protected  void updatePeriod(ScoreDirector scoreDirector, LeadingExam leadingExam)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeriodUpdatingVariableListener

public PeriodUpdatingVariableListener()
Method Detail

beforeEntityAdded

public void beforeEntityAdded(ScoreDirector scoreDirector,
                              LeadingExam leadingExam)
Specified by:
beforeEntityAdded in interface VariableListener<LeadingExam>

afterEntityAdded

public void afterEntityAdded(ScoreDirector scoreDirector,
                             LeadingExam leadingExam)
Specified by:
afterEntityAdded in interface VariableListener<LeadingExam>

beforeVariableChanged

public void beforeVariableChanged(ScoreDirector scoreDirector,
                                  LeadingExam leadingExam)
Specified by:
beforeVariableChanged in interface VariableListener<LeadingExam>

afterVariableChanged

public void afterVariableChanged(ScoreDirector scoreDirector,
                                 LeadingExam leadingExam)
Specified by:
afterVariableChanged in interface VariableListener<LeadingExam>

beforeEntityRemoved

public void beforeEntityRemoved(ScoreDirector scoreDirector,
                                LeadingExam leadingExam)
Specified by:
beforeEntityRemoved in interface VariableListener<LeadingExam>

afterEntityRemoved

public void afterEntityRemoved(ScoreDirector scoreDirector,
                               LeadingExam leadingExam)
Specified by:
afterEntityRemoved in interface VariableListener<LeadingExam>

updatePeriod

protected void updatePeriod(ScoreDirector scoreDirector,
                            LeadingExam leadingExam)

OptaPlanner distribution 6.1.0.Final

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