All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addEntityDescriptor(EntityDescriptor<Solution_> entityDescriptor) |
void |
afterAnnotationsProcessed(DescriptorPolicy descriptorPolicy) |
ScoreDefinition |
buildScoreDefinition(Class<? extends Score> scoreType,
PlanningScore annotation) |
static <Solution_> SolutionDescriptor<Solution_> |
buildSolutionDescriptor(Class<Solution_> solutionClass,
Class<?>... entityClasses) |
static <Solution_> SolutionDescriptor<Solution_> |
buildSolutionDescriptor(Class<Solution_> solutionClass,
List<Class<?>> entityClassList,
ScoreDefinition deprecatedScoreDefinition) |
void |
checkIfProblemFactsExist()
Only called if Drools score calculation is used.
|
int |
countUninitializedVariables(Solution_ solution) |
Iterator<Object> |
extractAllEntitiesIterator(Solution_ solution) |
Stream<Object> |
extractAllEntitiesStream(Solution_ solution) |
Class<? extends Score> |
extractScoreClass() |
EntityDescriptor<Solution_> |
findEntityDescriptor(Class<?> entitySubclass) |
EntityDescriptor<Solution_> |
findEntityDescriptorOrFail(Class<?> entitySubclass) |
GenuineVariableDescriptor<Solution_> |
findGenuineVariableDescriptor(Object entity,
String variableName) |
GenuineVariableDescriptor<Solution_> |
findGenuineVariableDescriptorOrFail(Object entity,
String variableName) |
VariableDescriptor<Solution_> |
findVariableDescriptor(Object entity,
String variableName) |
VariableDescriptor<Solution_> |
findVariableDescriptorOrFail(Object entity,
String variableName) |
Collection<Object> |
getAllFacts(Solution_ solution) |
ConstraintConfigurationDescriptor<Solution_> |
getConstraintConfigurationDescriptor() |
MemberAccessor |
getConstraintConfigurationMemberAccessor() |
Set<Class<?>> |
getEntityClassSet() |
Map<String,MemberAccessor> |
getEntityCollectionMemberAccessorMap() |
int |
getEntityCount(Solution_ solution) |
Collection<EntityDescriptor<Solution_>> |
getEntityDescriptors() |
EntityDescriptor<Solution_> |
getEntityDescriptorStrict(Class<?> entityClass) |
List<Object> |
getEntityList(Solution_ solution) |
List<Object> |
getEntityListByEntityClass(Solution_ solution,
Class<?> entityClass) |
Map<String,MemberAccessor> |
getEntityMemberAccessorMap() |
List<String> |
getEntityMemberAndEntityCollectionMemberNames() |
Collection<EntityDescriptor<Solution_>> |
getGenuineEntityDescriptors() |
long |
getGenuineVariableCount(Solution_ solution) |
LookUpStrategyResolver |
getLookUpStrategyResolver() |
long |
getMaximumValueCount(Solution_ solution) |
int |
getMovableEntityCount(ScoreDirector<Solution_> scoreDirector) |
Map<String,MemberAccessor> |
getProblemFactCollectionMemberAccessorMap() |
Map<String,MemberAccessor> |
getProblemFactMemberAccessorMap() |
List<String> |
getProblemFactMemberAndProblemFactCollectionMemberNames() |
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) |
void |
processAnnotations(DescriptorPolicy descriptorPolicy,
ScoreDefinition deprecatedScoreDefinition,
List<Class<?>> entityClassList) |
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) |