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
,SubListSelectorFactory
public abstract class AbstractFromConfigFactory<Solution_,Config_ extends AbstractConfig<Config_>>
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EntityDescriptor<Solution_>
deduceEntityDescriptor
(HeuristicConfigPolicy<Solution_> configPolicy, Class<?> entityClass) protected GenuineVariableDescriptor<Solution_>
deduceGenuineVariableDescriptor
(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) protected EntityDescriptor<Solution_>
getTheOnlyEntityDescriptor
(SolutionDescriptor<Solution_> solutionDescriptor) protected GenuineVariableDescriptor<Solution_>
getTheOnlyVariableDescriptor
(EntityDescriptor<Solution_> entityDescriptor) protected GenuineVariableDescriptor<Solution_>
getVariableDescriptorForName
(EntityDescriptor<Solution_> entityDescriptor, String variableName)
-
Field Details
-
config
-
-
Constructor Details
-
AbstractFromConfigFactory
-
-
Method Details
-
getDefaultEntitySelectorConfigForEntity
public static <Solution_> EntitySelectorConfig getDefaultEntitySelectorConfigForEntity(HeuristicConfigPolicy<Solution_> configPolicy, EntityDescriptor<Solution_> entityDescriptor) -
deduceEntityDescriptor
protected EntityDescriptor<Solution_> deduceEntityDescriptor(HeuristicConfigPolicy<Solution_> configPolicy, Class<?> entityClass) -
getTheOnlyEntityDescriptor
protected EntityDescriptor<Solution_> getTheOnlyEntityDescriptor(SolutionDescriptor<Solution_> solutionDescriptor) -
deduceGenuineVariableDescriptor
protected GenuineVariableDescriptor<Solution_> deduceGenuineVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor, String variableName) -
getVariableDescriptorForName
protected GenuineVariableDescriptor<Solution_> getVariableDescriptorForName(EntityDescriptor<Solution_> entityDescriptor, String variableName) -
getTheOnlyVariableDescriptor
protected GenuineVariableDescriptor<Solution_> getTheOnlyVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor) -
deduceVariableDescriptorList
protected List<GenuineVariableDescriptor<Solution_>> deduceVariableDescriptorList(EntityDescriptor<Solution_> entityDescriptor, List<String> variableNameIncludeList)
-