All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method |
Description |
void |
addEntityDescriptor(EntityDescriptor<Solution_> entityDescriptor) |
|
void |
assertProblemFactsExist() |
Only called if Drools score calculation is used.
|
static <Solution_> SolutionDescriptor<Solution_> |
buildSolutionDescriptor(Class<Solution_> solutionClass,
Class<?>... entityClasses) |
|
static <Solution_> SolutionDescriptor<Solution_> |
buildSolutionDescriptor(Class<Solution_> solutionClass,
List<Class<?>> entityClassList) |
|
static <Solution_> SolutionDescriptor<Solution_> |
buildSolutionDescriptor(DomainAccessType domainAccessType,
Class<Solution_> solutionClass,
Class<?>... entityClasses) |
|
static <Solution_> SolutionDescriptor<Solution_> |
buildSolutionDescriptor(DomainAccessType domainAccessType,
Class<Solution_> solutionClass,
Map<String,MemberAccessor> memberAccessorMap,
Map<String,SolutionCloner> solutionClonerMap,
List<Class<?>> entityClassList) |
|
int |
countUninitialized(Solution_ solution) |
Calculates the number of elements that need to be processed in the Construction Heuristics phase.
|
EntityDescriptor<Solution_> |
findEntityDescriptor(Class<?> entitySubclass) |
|
EntityDescriptor<Solution_> |
findEntityDescriptorOrFail(Class<?> entitySubclass) |
|
GenuineVariableDescriptor<Solution_> |
findGenuineVariableDescriptor(Object entity,
String variableName) |
|
GenuineVariableDescriptor<Solution_> |
findGenuineVariableDescriptorOrFail(Object entity,
String variableName) |
|
List<ListVariableDescriptor<Solution_>> |
findListVariableDescriptors() |
|
VariableDescriptor<Solution_> |
findVariableDescriptor(Object entity,
String variableName) |
|
VariableDescriptor<Solution_> |
findVariableDescriptorOrFail(Object entity,
String variableName) |
|
Collection<Object> |
getAllFacts(Solution_ solution) |
|
ConstraintConfigurationDescriptor<Solution_> |
getConstraintConfigurationDescriptor() |
|
MemberAccessor |
getConstraintConfigurationMemberAccessor() |
|
DomainAccessType |
getDomainAccessType() |
|
Set<Class<?>> |
getEntityClassSet() |
|
Map<String,MemberAccessor> |
getEntityCollectionMemberAccessorMap() |
|
int |
getEntityCount(Solution_ solution) |
|
Collection<EntityDescriptor<Solution_>> |
getEntityDescriptors() |
|
EntityDescriptor<Solution_> |
getEntityDescriptorStrict(Class<?> entityClass) |
|
List<Object> |
getEntityListByEntityClass(Solution_ solution,
Class<?> entityClass) |
|
Map<String,MemberAccessor> |
getEntityMemberAccessorMap() |
|
List<String> |
getEntityMemberAndEntityCollectionMemberNames() |
|
Map<String,MemberAccessor> |
getGeneratedMemberAccessorMap() |
|
Collection<EntityDescriptor<Solution_>> |
getGenuineEntityDescriptors() |
|
long |
getGenuineVariableCount(Solution_ solution) |
|
LookUpStrategyResolver |
getLookUpStrategyResolver() |
|
long |
getMaximumValueCount(Solution_ solution) |
|
Map<String,MemberAccessor> |
getProblemFactCollectionMemberAccessorMap() |
|
Map<String,MemberAccessor> |
getProblemFactMemberAccessorMap() |
|
List<String> |
getProblemFactMemberAndProblemFactCollectionMemberNames() |
|
Set<Class<?>> |
getProblemFactOrEntityClassSet() |
|
long |
getProblemScale(Solution_ solution) |
Calculates an indication on how big this problem instance is.
|
Score |
getScore(Solution_ solution) |
|
ScoreDefinition |
getScoreDefinition() |
|
Class<Solution_> |
getSolutionClass() |
|
SolutionCloner<Solution_> |
getSolutionCloner() |
|
int |
getValueCount(Solution_ solution) |
|
boolean |
hasEntityDescriptor(Class<?> entitySubclass) |
|
boolean |
hasEntityDescriptorStrict(Class<?> entityClass) |
|
boolean |
hasMovableEntities(ScoreDirector<Solution_> scoreDirector) |
|
void |
processAnnotations(DescriptorPolicy descriptorPolicy,
List<Class<?>> entityClassList) |
|
void |
setAssertModelForCloning(boolean assertModelForCloning) |
|
void |
setScore(Solution_ solution,
Score score) |
Called when the Score has been calculated or predicted.
|
String |
toString() |
|
void |
validateConstraintWeight(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
|
void |
visitAllEntities(Solution_ solution,
Consumer<Object> visitor) |
|
void |
visitAllFacts(Solution_ solution,
Consumer<Object> visitor) |
|