public class ConstructionHeuristicPhaseConfig extends PhaseConfig<ConstructionHeuristicPhaseConfig>
Modifier and Type | Field and Description |
---|---|
protected ConstructionHeuristicType |
constructionHeuristicType |
protected List<EntityPlacerConfig> |
entityPlacerConfigList |
protected EntitySorterManner |
entitySorterManner |
protected ConstructionHeuristicForagerConfig |
foragerConfig |
protected List<MoveSelectorConfig> |
moveSelectorConfigList
Simpler alternative for
entityPlacerConfigList . |
protected ValueSorterManner |
valueSorterManner |
Constructor and Description |
---|
ConstructionHeuristicPhaseConfig() |
buildPhaseTermination, getTerminationConfig, setTerminationConfig, toString
copyConfig, deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, newInstance
protected ConstructionHeuristicType constructionHeuristicType
protected EntitySorterManner entitySorterManner
protected ValueSorterManner valueSorterManner
protected List<EntityPlacerConfig> entityPlacerConfigList
protected List<MoveSelectorConfig> moveSelectorConfigList
entityPlacerConfigList
.protected ConstructionHeuristicForagerConfig foragerConfig
public ConstructionHeuristicType getConstructionHeuristicType()
public void setConstructionHeuristicType(ConstructionHeuristicType constructionHeuristicType)
public EntitySorterManner getEntitySorterManner()
public void setEntitySorterManner(EntitySorterManner entitySorterManner)
public ValueSorterManner getValueSorterManner()
public void setValueSorterManner(ValueSorterManner valueSorterManner)
public EntityPlacerConfig getEntityPlacerConfig()
public void setEntityPlacerConfig(EntityPlacerConfig entityPlacerConfig)
public List<MoveSelectorConfig> getMoveSelectorConfigList()
public void setMoveSelectorConfigList(List<MoveSelectorConfig> moveSelectorConfigList)
public ConstructionHeuristicForagerConfig getForagerConfig()
public void setForagerConfig(ConstructionHeuristicForagerConfig foragerConfig)
public ConstructionHeuristicPhaseConfig withConstructionHeuristicType(ConstructionHeuristicType constructionHeuristicType)
public ConstructionHeuristicPhaseConfig withEntitySorterManner(EntitySorterManner entitySorterManner)
public ConstructionHeuristicPhaseConfig withValueSorterManner(ValueSorterManner valueSorterManner)
public ConstructionHeuristicPhaseConfig withEntityPlacerConfig(EntityPlacerConfig entityPlacerConfig)
public ConstructionHeuristicPhaseConfig withMoveSelectorConfigList(List<MoveSelectorConfig> moveSelectorConfigList)
public ConstructionHeuristicPhaseConfig withForagerConfig(ConstructionHeuristicForagerConfig foragerConfig)
public ConstructionHeuristicPhase buildPhase(int phaseIndex, HeuristicConfigPolicy solverConfigPolicy, BestSolutionRecaller bestSolutionRecaller, Termination solverTermination)
buildPhase
in class PhaseConfig<ConstructionHeuristicPhaseConfig>
public void inherit(ConstructionHeuristicPhaseConfig inheritedConfig)
AbstractConfig
inheritedConfig
unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour).
After the inheritance, if a property on this AbstractConfig
composition is replaced,
it should not affect the inherited composition instance.
inherit
in class PhaseConfig<ConstructionHeuristicPhaseConfig>
inheritedConfig
- never nullCopyright © 2006–2019 JBoss by Red Hat. All rights reserved.