OptaPlanner core 6.2.0.Beta1

org.optaplanner.core.config.phase.custom
Class CustomPhaseConfig

java.lang.Object
  extended by org.optaplanner.core.config.phase.PhaseConfig
      extended by org.optaplanner.core.config.phase.custom.CustomPhaseConfig

public class CustomPhaseConfig
extends PhaseConfig


Field Summary
protected  List<Class<? extends CustomPhaseCommand>> customPhaseCommandClassList
           
protected  Boolean forceUpdateBestSolution
           
 
Constructor Summary
CustomPhaseConfig()
           
 
Method Summary
 CustomPhase buildPhase(int phaseIndex, HeuristicConfigPolicy solverConfigPolicy, BestSolutionRecaller bestSolutionRecaller, Termination solverTermination)
           
 List<Class<? extends CustomPhaseCommand>> getCustomPhaseCommandClassList()
           
 Boolean getForceUpdateBestSolution()
           
 void inherit(CustomPhaseConfig inheritedConfig)
           
 void setCustomPhaseCommandClassList(List<Class<? extends CustomPhaseCommand>> customPhaseCommandClassList)
           
 void setForceUpdateBestSolution(Boolean forceUpdateBestSolution)
           
 
Methods inherited from class org.optaplanner.core.config.phase.PhaseConfig
configurePhase, getTerminationConfig, inherit, setTerminationConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customPhaseCommandClassList

protected List<Class<? extends CustomPhaseCommand>> customPhaseCommandClassList

forceUpdateBestSolution

protected Boolean forceUpdateBestSolution
Constructor Detail

CustomPhaseConfig

public CustomPhaseConfig()
Method Detail

getCustomPhaseCommandClassList

public List<Class<? extends CustomPhaseCommand>> getCustomPhaseCommandClassList()

setCustomPhaseCommandClassList

public void setCustomPhaseCommandClassList(List<Class<? extends CustomPhaseCommand>> customPhaseCommandClassList)

getForceUpdateBestSolution

public Boolean getForceUpdateBestSolution()

setForceUpdateBestSolution

public void setForceUpdateBestSolution(Boolean forceUpdateBestSolution)

buildPhase

public CustomPhase buildPhase(int phaseIndex,
                              HeuristicConfigPolicy solverConfigPolicy,
                              BestSolutionRecaller bestSolutionRecaller,
                              Termination solverTermination)
Specified by:
buildPhase in class PhaseConfig

inherit

public void inherit(CustomPhaseConfig inheritedConfig)

OptaPlanner core 6.2.0.Beta1

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