Solution_
- the solution type, the class with the PlanningSolution
annotationpublic interface InnerScoreDirectorFactory<Solution_> extends ScoreDirectorFactory<Solution_>
Modifier and Type | Method and Description |
---|---|
void |
assertScoreFromScratch(Solution_ solution)
Asserts that if the
Score is calculated for the parameter solution,
it would be equal to the score of that parameter. |
InnerScoreDirector<Solution_> |
buildScoreDirector()
Creates a new
ScoreDirector instance. |
InnerScoreDirector<Solution_> |
buildScoreDirector(boolean lookUpEnabled,
boolean constraintMatchEnabledPreference)
Like
buildScoreDirector() , but optionally disables ConstraintMatch tracking and look up
for more performance (presuming the ScoreDirector implementation actually supports it to begin with). |
InitializingScoreTrend |
getInitializingScoreTrend() |
ScoreDefinition |
getScoreDefinition() |
SolutionDescriptor<Solution_> |
getSolutionDescriptor() |
SolutionDescriptor<Solution_> getSolutionDescriptor()
ScoreDefinition getScoreDefinition()
InnerScoreDirector<Solution_> buildScoreDirector()
ScoreDirectorFactory
ScoreDirector
instance.buildScoreDirector
in interface ScoreDirectorFactory<Solution_>
InnerScoreDirector<Solution_> buildScoreDirector(boolean lookUpEnabled, boolean constraintMatchEnabledPreference)
buildScoreDirector()
, but optionally disables ConstraintMatch
tracking and look up
for more performance (presuming the ScoreDirector
implementation actually supports it to begin with).lookUpEnabled
- true if a ScoreDirector
implementation should track all working objects
for ScoreDirector.lookUpWorkingObject(Object)
constraintMatchEnabledPreference
- false if a ScoreDirector
implementation
should not do ConstraintMatch
tracking even if it supports it.ScoreDirector.isConstraintMatchEnabled()
,
ScoreDirector.getConstraintMatchTotalMap()
InitializingScoreTrend getInitializingScoreTrend()
void assertScoreFromScratch(Solution_ solution)
Score
is calculated for the parameter solution,
it would be equal to the score of that parameter.solution
- never nullInnerScoreDirector.assertWorkingScoreFromScratch(Score, Object)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.