Package org.optaplanner.core.impl
Class AbstractFromConfigFactory<Solution_,Config_ extends AbstractConfig<Config_>>
- java.lang.Object
-
- org.optaplanner.core.impl.AbstractFromConfigFactory<Solution_,Config_>
-
- Direct Known Subclasses:
AbstractSelectorFactory
,PooledEntityPlacerFactory
,QueuedEntityPlacerFactory
,QueuedValuePlacerFactory
public abstract class AbstractFromConfigFactory<Solution_,Config_ extends AbstractConfig<Config_>> extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractFromConfigFactory(Config_ config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EntityDescriptor<Solution_>
deduceEntityDescriptor(SolutionDescriptor<Solution_> solutionDescriptor)
protected EntityDescriptor<Solution_>
deduceEntityDescriptor(SolutionDescriptor<Solution_> solutionDescriptor, Class<?> entityClass)
protected GenuineVariableDescriptor<Solution_>
deduceVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor)
protected GenuineVariableDescriptor<Solution_>
deduceVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor, String variableName)
protected List<GenuineVariableDescriptor<Solution_>>
deduceVariableDescriptorList(EntityDescriptor<Solution_> entityDescriptor, List<String> variableNameIncludeList)
static <Solution_>
EntitySelectorConfiggetDefaultEntitySelectorConfigForEntity(HeuristicConfigPolicy<Solution_> configPolicy, EntityDescriptor<Solution_> entityDescriptor)
-
-
-
Field Detail
-
config
protected final Config_ extends AbstractConfig<Config_> config
-
-
Constructor Detail
-
AbstractFromConfigFactory
public AbstractFromConfigFactory(Config_ config)
-
-
Method Detail
-
getDefaultEntitySelectorConfigForEntity
public static <Solution_> EntitySelectorConfig getDefaultEntitySelectorConfigForEntity(HeuristicConfigPolicy<Solution_> configPolicy, EntityDescriptor<Solution_> entityDescriptor)
-
deduceEntityDescriptor
protected EntityDescriptor<Solution_> deduceEntityDescriptor(SolutionDescriptor<Solution_> solutionDescriptor, Class<?> entityClass)
-
deduceEntityDescriptor
protected EntityDescriptor<Solution_> deduceEntityDescriptor(SolutionDescriptor<Solution_> solutionDescriptor)
-
deduceVariableDescriptor
protected GenuineVariableDescriptor<Solution_> deduceVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor, String variableName)
-
deduceVariableDescriptor
protected GenuineVariableDescriptor<Solution_> deduceVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor)
-
deduceVariableDescriptorList
protected List<GenuineVariableDescriptor<Solution_>> deduceVariableDescriptorList(EntityDescriptor<Solution_> entityDescriptor, List<String> variableNameIncludeList)
-
-