Solution_ - the solution type, the class with the PlanningSolution annotationpublic class ConstraintStreamScoreDirectorFactory<Solution_> extends AbstractScoreDirectorFactory<Solution_>
ScoreDirectorFactory.assertClonedSolution, assertionScoreDirectorFactory, initializingScoreTrend, logger, solutionDescriptor| Constructor and Description |
|---|
ConstraintStreamScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor,
ConstraintProvider constraintProvider,
ConstraintStreamImplType constraintStreamImplType) |
| Modifier and Type | Method and Description |
|---|---|
ConstraintStreamScoreDirector<Solution_> |
buildScoreDirector(boolean lookUpEnabled,
boolean constraintMatchEnabledPreference)
Like
InnerScoreDirectorFactory.buildScoreDirector(), but optionally disables ConstraintMatch tracking and look up
for more performance (presuming the ScoreDirector implementation actually supports it to begin with). |
Constraint[] |
getConstraints() |
ConstraintSession<Solution_> |
newConstraintStreamingSession(boolean constraintMatchEnabled,
Solution_ workingSolution) |
assertScoreFromScratch, buildScoreDirector, getAssertionScoreDirectorFactory, getInitializingScoreTrend, getScoreDefinition, getSolutionDescriptor, isAssertClonedSolution, setAssertClonedSolution, setAssertionScoreDirectorFactory, setInitializingScoreTrendpublic ConstraintStreamScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor, ConstraintProvider constraintProvider, ConstraintStreamImplType constraintStreamImplType)
public ConstraintStreamScoreDirector<Solution_> buildScoreDirector(boolean lookUpEnabled, boolean constraintMatchEnabledPreference)
InnerScoreDirectorFactoryInnerScoreDirectorFactory.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()public ConstraintSession<Solution_> newConstraintStreamingSession(boolean constraintMatchEnabled, Solution_ workingSolution)
public Constraint[] getConstraints()
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.