public interface InnerScoreDirectorFactory extends ScoreDirectorFactory
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 Solution.getScore() of that parameter. |
InnerScoreDirector |
buildScoreDirector()
Creates a new
ScoreDirector instance. |
InnerScoreDirector |
buildScoreDirector(boolean constraintMatchEnabledPreference)
Like
buildScoreDirector() , but optionally disables ConstraintMatch tracking
for more performance (presuming the ScoreDirector implementation actually supports it to begin with). |
InitializingScoreTrend |
getInitializingScoreTrend() |
ScoreDefinition |
getScoreDefinition() |
SolutionDescriptor |
getSolutionDescriptor() |
SolutionDescriptor getSolutionDescriptor()
ScoreDefinition getScoreDefinition()
InnerScoreDirector buildScoreDirector()
ScoreDirectorFactory
ScoreDirector
instance.buildScoreDirector
in interface ScoreDirectorFactory
InnerScoreDirector buildScoreDirector(boolean constraintMatchEnabledPreference)
buildScoreDirector()
, but optionally disables ConstraintMatch
tracking
for more performance (presuming the ScoreDirector
implementation actually supports it to begin with).constraintMatchEnabledPreference
- false if a ScoreDirector
implementation
should not do ConstraintMatch
tracking even if it supports it.ScoreDirector.isConstraintMatchEnabled()
,
ScoreDirector.getConstraintMatchTotals()
InitializingScoreTrend getInitializingScoreTrend()
void assertScoreFromScratch(Solution solution)
Score
is calculated for the parameter solution,
it would be equal to the Solution.getScore()
of that parameter.solution
- never nullInnerScoreDirector.assertWorkingScoreFromScratch(Score, Object)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.