Class DefaultConstraintJustification
java.lang.Object
ai.timefold.solver.core.api.score.stream.DefaultConstraintJustification
- All Implemented Interfaces:
ConstraintJustification,Comparable<DefaultConstraintJustification>
public final class DefaultConstraintJustification
extends Object
implements ConstraintJustification, Comparable<DefaultConstraintJustification>
Default implementation of
ConstraintJustification, returned by ConstraintMatch.getJustification()
unless the user defined a custom justification mapping.-
Method Details
-
of
-
of
-
of
public static DefaultConstraintJustification of(Score<?> impact, Object factA, Object factB, Object factC) -
of
-
of
-
of
-
getImpact
-
getFacts
- Returns:
- never null; may contain null
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<DefaultConstraintJustification>
-