Uses of Interface
org.optaplanner.core.api.score.stream.ConstraintJustification
-
Packages that use ConstraintJustification Package Description org.optaplanner.core.api.score Classes used forScore
calculation.org.optaplanner.core.api.score.constraint org.optaplanner.core.api.score.stream org.optaplanner.core.api.score.stream.bi TheConstraintStream
API for bi-tuples.org.optaplanner.core.api.score.stream.quad TheConstraintStream
API for four matched facts.org.optaplanner.core.api.score.stream.tri TheConstraintStream
API for tri-tuples.org.optaplanner.core.api.score.stream.uni TheConstraintStream
API for uni-tuples.org.optaplanner.core.impl.score org.optaplanner.core.impl.score.constraint -
-
Uses of ConstraintJustification in org.optaplanner.core.api.score
Methods in org.optaplanner.core.api.score with type parameters of type ConstraintJustification Modifier and Type Method Description default <ConstraintJustification_ extends ConstraintJustification>
List<ConstraintJustification_>ScoreExplanation. getJustificationList(Class<? extends ConstraintJustification_> constraintJustificationClass)
Explains theScore
ofScoreExplanation.getScore()
for all constraints justified with a givenConstraintJustification
type.Methods in org.optaplanner.core.api.score that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>
ScoreExplanation. getJustificationList()
Explains theScore
ofScoreExplanation.getScore()
for all constraints. -
Uses of ConstraintJustification in org.optaplanner.core.api.score.constraint
Methods in org.optaplanner.core.api.score.constraint with type parameters of type ConstraintJustification Modifier and Type Method Description <Justification_ extends ConstraintJustification>
Justification_ConstraintMatch. getJustification()
Return a singular justification for the constraint.default <ConstraintJustification_ extends ConstraintJustification>
List<ConstraintJustification_>Indictment. getJustificationList(Class<ConstraintJustification_> justificationClass)
RetrieveConstraintJustification
instances associated withConstraintMatch
es inIndictment.getConstraintMatchSet()
, which are of (or extend) a given constraint justification implementation.Methods in org.optaplanner.core.api.score.constraint that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>
Indictment. getJustificationList()
RetrieveConstraintJustification
instances associated withConstraintMatch
es inIndictment.getConstraintMatchSet()
.Constructors in org.optaplanner.core.api.score.constraint with parameters of type ConstraintJustification Constructor Description ConstraintMatch(String constraintPackage, String constraintName, ConstraintJustification justification, Collection<Object> indictedObjects, Score_ score)
-
Uses of ConstraintJustification in org.optaplanner.core.api.score.stream
Classes in org.optaplanner.core.api.score.stream that implement ConstraintJustification Modifier and Type Class Description class
DefaultConstraintJustification
Default implementation ofConstraintJustification
, returned byConstraintMatch.getJustification()
unless the user defined a custom justification mapping. -
Uses of ConstraintJustification in org.optaplanner.core.api.score.stream.bi
Methods in org.optaplanner.core.api.score.stream.bi with type parameters of type ConstraintJustification Modifier and Type Method Description <ConstraintJustification_ extends ConstraintJustification>
BiConstraintBuilder<A,B,Score_>BiConstraintBuilder. justifyWith(TriFunction<A,B,Score_,ConstraintJustification_> justificationMapping)
Sets a custom function to apply on a constraint match to justify it. -
Uses of ConstraintJustification in org.optaplanner.core.api.score.stream.quad
Methods in org.optaplanner.core.api.score.stream.quad with type parameters of type ConstraintJustification Modifier and Type Method Description <ConstraintJustification_ extends ConstraintJustification>
QuadConstraintBuilder<A,B,C,D,Score_>QuadConstraintBuilder. justifyWith(PentaFunction<A,B,C,D,Score_,ConstraintJustification_> justificationMapping)
Sets a custom function to apply on a constraint match to justify it. -
Uses of ConstraintJustification in org.optaplanner.core.api.score.stream.tri
Methods in org.optaplanner.core.api.score.stream.tri with type parameters of type ConstraintJustification Modifier and Type Method Description <ConstraintJustification_ extends ConstraintJustification>
TriConstraintBuilder<A,B,C,Score_>TriConstraintBuilder. justifyWith(QuadFunction<A,B,C,Score_,ConstraintJustification_> justificationMapping)
Sets a custom function to apply on a constraint match to justify it. -
Uses of ConstraintJustification in org.optaplanner.core.api.score.stream.uni
Methods in org.optaplanner.core.api.score.stream.uni with type parameters of type ConstraintJustification Modifier and Type Method Description <ConstraintJustification_ extends ConstraintJustification>
UniConstraintBuilder<A,Score_>UniConstraintBuilder. justifyWith(BiFunction<A,Score_,ConstraintJustification_> justificationMapping)
Sets a custom function to apply on a constraint match to justify it. -
Uses of ConstraintJustification in org.optaplanner.core.impl.score
Methods in org.optaplanner.core.impl.score that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>
DefaultScoreExplanation. getJustificationList()
-
Uses of ConstraintJustification in org.optaplanner.core.impl.score.constraint
Methods in org.optaplanner.core.impl.score.constraint that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>
DefaultIndictment. getJustificationList()
Methods in org.optaplanner.core.impl.score.constraint with parameters of type ConstraintJustification Modifier and Type Method Description ConstraintMatch<Score_>
DefaultConstraintMatchTotal. addConstraintMatch(ConstraintJustification justification, Collection<Object> indictedObjects, Score_ score)
Creates aConstraintMatch
and adds it to the collection returned byDefaultConstraintMatchTotal.getConstraintMatchSet()
.
-