org.optaplanner.core.config.heuristic.selector.entity.pillar
Class PillarSelectorConfig
java.lang.Object
org.optaplanner.core.config.heuristic.selector.SelectorConfig
org.optaplanner.core.config.heuristic.selector.entity.pillar.PillarSelectorConfig
public class PillarSelectorConfig
- extends SelectorConfig
entitySelectorConfig
protected EntitySelectorConfig entitySelectorConfig
subPillarEnabled
protected Boolean subPillarEnabled
minimumSubPillarSize
protected Integer minimumSubPillarSize
maximumSubPillarSize
protected Integer maximumSubPillarSize
PillarSelectorConfig
public PillarSelectorConfig()
getEntitySelectorConfig
public EntitySelectorConfig getEntitySelectorConfig()
setEntitySelectorConfig
public void setEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig)
getSubPillarEnabled
public Boolean getSubPillarEnabled()
setSubPillarEnabled
public void setSubPillarEnabled(Boolean subPillarEnabled)
getMinimumSubPillarSize
public Integer getMinimumSubPillarSize()
setMinimumSubPillarSize
public void setMinimumSubPillarSize(Integer minimumSubPillarSize)
getMaximumSubPillarSize
public Integer getMaximumSubPillarSize()
setMaximumSubPillarSize
public void setMaximumSubPillarSize(Integer maximumSubPillarSize)
buildPillarSelector
public PillarSelector buildPillarSelector(HeuristicConfigPolicy configPolicy,
SelectionCacheType minimumCacheType,
SelectionOrder inheritedSelectionOrder)
- Parameters:
configPolicy
- never nullminimumCacheType
- never null, If caching is used (different from SelectionCacheType.JUST_IN_TIME
),
then it should be at least this SelectionCacheType
because an ancestor already uses such caching
and less would be pointless.inheritedSelectionOrder
- never null
- Returns:
- never null
inherit
public void inherit(PillarSelectorConfig inheritedConfig)
toString
public String toString()
- Overrides:
toString
in class SelectorConfig
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.