org.optaplanner.core.api.score.holder
Interface ScoreHolder
- All Known Implementing Classes:
- AbstractScoreHolder, BendableScoreHolder, HardMediumSoftScoreHolder, HardSoftBigDecimalScoreHolder, HardSoftDoubleScoreHolder, HardSoftLongScoreHolder, HardSoftScoreHolder, SimpleBigDecimalScoreHolder, SimpleDoubleScoreHolder, SimpleLongScoreHolder, SimpleScoreHolder
public interface ScoreHolder
This class is injected as a global by DroolsScoreDirector
into the Drools DRL.
Other ScoreDirector
implementations do not use this class.
- See Also:
AbstractScoreHolder
extractScore
Score extractScore()
- Extracts the
Score
, calculated by the KieSession
for DroolsScoreDirector
.
Should not be called directly, use ScoreDirector.calculateScore()
instead.
- Returns:
- never null, the
Score
of the working Solution
isConstraintMatchEnabled
boolean isConstraintMatchEnabled()
getConstraintMatchTotals
Collection<ConstraintMatchTotal> getConstraintMatchTotals()
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.