Interface ScoreDirectorFactory<Solution_,Score_ extends Score<Score_>>
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotationScore_- the score type to go with the solution
- All Known Implementing Classes:
AbstractConstraintStreamScoreDirectorFactory,AbstractScoreDirectorFactory,BavetConstraintStreamScoreDirectorFactory,EasyScoreDirectorFactory,IncrementalScoreDirectorFactory
public interface ScoreDirectorFactory<Solution_,Score_ extends Score<Score_>>
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertScoreFromScratch(Solution_ solution) Asserts that if theScoreis calculated for the parameter solution, it would be equal to the score of that parameter.default AbstractScoreDirector<Solution_,Score_, ?> default boolean
-
Method Details
-
getSolutionDescriptor
SolutionDescriptor<Solution_> getSolutionDescriptor()- Returns:
- never null
-
getScoreDefinition
ScoreDefinition<Score_> getScoreDefinition()- Returns:
- never null
-
createScoreDirectorBuilder
AbstractScoreDirector.AbstractScoreDirectorBuilder<Solution_,Score_, createScoreDirectorBuilder()?, ?> -
buildScoreDirector
-
getInitializingScoreTrend
InitializingScoreTrend getInitializingScoreTrend()- Returns:
- never null
-
assertScoreFromScratch
Asserts that if theScoreis calculated for the parameter solution, it would be equal to the score of that parameter.- Parameters:
solution- never null- See Also:
-
supportsConstraintMatching
default boolean supportsConstraintMatching()
-