org.optaplanner.core.impl.score.director
Interface InnerScoreDirectorFactory
- All Superinterfaces:
- ScoreDirectorFactory
- All Known Implementing Classes:
- AbstractScoreDirectorFactory, DroolsScoreDirectorFactory, EasyScoreDirectorFactory, IncrementalScoreDirectorFactory
public interface InnerScoreDirectorFactory
- extends ScoreDirectorFactory
getSolutionDescriptor
SolutionDescriptor getSolutionDescriptor()
- Returns:
- never null
getScoreDefinition
ScoreDefinition getScoreDefinition()
- Returns:
- never null
buildScoreDirector
InnerScoreDirector buildScoreDirector()
- Description copied from interface:
ScoreDirectorFactory
- Creates a new
ScoreDirector
instance.
- Specified by:
buildScoreDirector
in interface ScoreDirectorFactory
- Returns:
- never null
getInitializingScoreTrend
InitializingScoreTrend getInitializingScoreTrend()
- Returns:
- never null
assertScoreFromScratch
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.
- Parameters:
solution
- never null- See Also:
InnerScoreDirector.assertWorkingScoreFromScratch(Score, Object)
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.