Interface ConstraintMatchTotal<Score_ extends Score<Score_>>
- 
- Type Parameters:
- Score_- the actual score type
 - All Known Implementing Classes:
- DefaultConstraintMatchTotal
 
 public interface ConstraintMatchTotal<Score_ extends Score<Score_>>Explains theScoreof aPlanningSolution, from the opposite side thanIndictment. Retrievable fromScoreExplanation.getConstraintMatchTotalMap().
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static StringcomposeConstraintId(String constraintPackage, String constraintName)StringgetConstraintId()To create a constraintId, usecomposeConstraintId(String, String).default intgetConstraintMatchCount()Set<ConstraintMatch<Score_>>getConstraintMatchSet()StringgetConstraintName()StringgetConstraintPackage()Score_getConstraintWeight()The value of theConstraintWeightannotated member of theConstraintConfiguration.Score_getScore()Sum of thegetConstraintMatchSet()'sConstraintMatch.getScore().
 
- 
- 
- 
Method Detail- 
composeConstraintIdstatic String composeConstraintId(String constraintPackage, String constraintName) - Parameters:
- constraintPackage- never null
- constraintName- never null
- Returns:
- never null
 
 - 
getConstraintPackageString getConstraintPackage() - Returns:
- never null
 
 - 
getConstraintNameString getConstraintName() - Returns:
- never null
 
 - 
getConstraintWeightScore_ getConstraintWeight() The value of theConstraintWeightannotated member of theConstraintConfiguration. It's independent to the state of theplanning variables. Do not confuse withgetScore().- Returns:
- null if ConstraintWeightisn't used for this constraint
 
 - 
getConstraintMatchSetSet<ConstraintMatch<Score_>> getConstraintMatchSet() - Returns:
- never null
 
 - 
getConstraintMatchCountdefault int getConstraintMatchCount() - Returns:
- >= 0
 
 - 
getScoreScore_ getScore() Sum of thegetConstraintMatchSet()'sConstraintMatch.getScore().- Returns:
- never null
 
 - 
getConstraintIdString getConstraintId() To create a constraintId, usecomposeConstraintId(String, String).- Returns:
- never null
 
 
- 
 
-