Class ConstraintMatch<Score_ extends Score<Score_>>
- java.lang.Object
-
- org.optaplanner.core.api.score.constraint.ConstraintMatch<Score_>
-
- Type Parameters:
Score_
- the actual score type
- All Implemented Interfaces:
Comparable<ConstraintMatch<Score_>>
public final class ConstraintMatch<Score_ extends Score<Score_>> extends Object implements Comparable<ConstraintMatch<Score_>>
Retrievable fromConstraintMatchTotal.getConstraintMatchSet()
andIndictment.getConstraintMatchSet()
.This class implements
Comparable
for consistent ordering of constraint matches in visualizations. The details of this ordering are unspecified and are subject to change.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ConstraintMatch<Score_> other)
String
getConstraintId()
String
getConstraintName()
String
getConstraintPackage()
String
getIdentificationString()
List<Object>
getJustificationList()
Score_
getScore()
String
toString()
-
-
-
Method Detail
-
getConstraintPackage
public String getConstraintPackage()
-
getConstraintName
public String getConstraintName()
-
getScore
public Score_ getScore()
-
getConstraintId
public String getConstraintId()
-
getIdentificationString
public String getIdentificationString()
-
compareTo
public int compareTo(ConstraintMatch<Score_> other)
- Specified by:
compareTo
in interfaceComparable<Score_ extends Score<Score_>>
-
-