Class HeuristicConfigPolicy
- java.lang.Object
-
- org.optaplanner.core.config.heuristic.policy.HeuristicConfigPolicy
-
public class HeuristicConfigPolicy extends Object
-
-
Constructor Summary
Constructors Constructor Description HeuristicConfigPolicy(EnvironmentMode environmentMode, Integer moveThreadCount, Integer moveThreadBufferSize, Class<? extends ThreadFactory> threadFactoryClass, InnerScoreDirectorFactory scoreDirectorFactory)
HeuristicConfigPolicy(EnvironmentMode environmentMode, String logIndentation, Integer moveThreadCount, Integer moveThreadBufferSize, Class<? extends ThreadFactory> threadFactoryClass, InnerScoreDirectorFactory scoreDirectorFactory)
-
Method Summary
-
-
-
Constructor Detail
-
HeuristicConfigPolicy
public HeuristicConfigPolicy(EnvironmentMode environmentMode, Integer moveThreadCount, Integer moveThreadBufferSize, Class<? extends ThreadFactory> threadFactoryClass, InnerScoreDirectorFactory scoreDirectorFactory)
-
HeuristicConfigPolicy
public HeuristicConfigPolicy(EnvironmentMode environmentMode, String logIndentation, Integer moveThreadCount, Integer moveThreadBufferSize, Class<? extends ThreadFactory> threadFactoryClass, InnerScoreDirectorFactory scoreDirectorFactory)
-
-
Method Detail
-
getEnvironmentMode
public EnvironmentMode getEnvironmentMode()
-
getLogIndentation
public String getLogIndentation()
-
getMoveThreadCount
public Integer getMoveThreadCount()
-
getThreadFactoryClass
public Class<? extends ThreadFactory> getThreadFactoryClass()
-
getMoveThreadBufferSize
public Integer getMoveThreadBufferSize()
-
getSolutionDescriptor
public SolutionDescriptor getSolutionDescriptor()
-
getScoreDefinition
public ScoreDefinition getScoreDefinition()
-
getScoreDirectorFactory
public InnerScoreDirectorFactory getScoreDirectorFactory()
-
getEntitySorterManner
public EntitySorterManner getEntitySorterManner()
-
setEntitySorterManner
public void setEntitySorterManner(EntitySorterManner entitySorterManner)
-
getValueSorterManner
public ValueSorterManner getValueSorterManner()
-
setValueSorterManner
public void setValueSorterManner(ValueSorterManner valueSorterManner)
-
isReinitializeVariableFilterEnabled
@Deprecated public boolean isReinitializeVariableFilterEnabled()
Deprecated.for removal.
-
setReinitializeVariableFilterEnabled
@Deprecated public void setReinitializeVariableFilterEnabled(boolean reinitializeVariableFilterEnabled)
Deprecated.for removal.
-
getEntityMimicRecorderMap
public Map<String,EntityMimicRecorder> getEntityMimicRecorderMap()
-
setEntityMimicRecorderMap
public void setEntityMimicRecorderMap(Map<String,EntityMimicRecorder> entityMimicRecorderMap)
-
getValueMimicRecorderMap
public Map<String,ValueMimicRecorder> getValueMimicRecorderMap()
-
setValueMimicRecorderMap
public void setValueMimicRecorderMap(Map<String,ValueMimicRecorder> valueMimicRecorderMap)
-
isInitializedChainedValueFilterEnabled
public boolean isInitializedChainedValueFilterEnabled()
-
setInitializedChainedValueFilterEnabled
public void setInitializedChainedValueFilterEnabled(boolean initializedChainedValueFilterEnabled)
-
createPhaseConfigPolicy
public HeuristicConfigPolicy createPhaseConfigPolicy()
-
createChildThreadConfigPolicy
public HeuristicConfigPolicy createChildThreadConfigPolicy(ChildThreadType childThreadType)
-
addEntityMimicRecorder
public void addEntityMimicRecorder(String id, EntityMimicRecorder mimicRecordingEntitySelector)
-
getEntityMimicRecorder
public EntityMimicRecorder getEntityMimicRecorder(String id)
-
addValueMimicRecorder
public void addValueMimicRecorder(String id, ValueMimicRecorder mimicRecordingValueSelector)
-
getValueMimicRecorder
public ValueMimicRecorder getValueMimicRecorder(String id)
-
buildThreadFactory
public ThreadFactory buildThreadFactory(ChildThreadType childThreadType)
-
-