Uses of Interface
ai.timefold.solver.core.api.score.stream.ConstraintJustification
-
Packages that use ConstraintJustification Package Description ai.timefold.solver.core.api.score Classes used forScorecalculation.ai.timefold.solver.core.api.score.constraint ai.timefold.solver.core.api.score.stream ai.timefold.solver.core.api.score.stream.bi TheConstraintStreamAPI for bi-tuples.ai.timefold.solver.core.api.score.stream.quad TheConstraintStreamAPI for four matched facts.ai.timefold.solver.core.api.score.stream.tri TheConstraintStreamAPI for tri-tuples.ai.timefold.solver.core.api.score.stream.uni TheConstraintStreamAPI for uni-tuples.ai.timefold.solver.core.impl.score ai.timefold.solver.core.impl.score.constraint -
-
Uses of ConstraintJustification in ai.timefold.solver.core.api.score
Methods in ai.timefold.solver.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 theScoreofScoreExplanation.getScore()for all constraints justified with a givenConstraintJustificationtype.Methods in ai.timefold.solver.core.api.score that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>ScoreExplanation. getJustificationList()Explains theScoreofScoreExplanation.getScore()for all constraints. -
Uses of ConstraintJustification in ai.timefold.solver.core.api.score.constraint
Methods in ai.timefold.solver.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)RetrieveConstraintJustificationinstances associated withConstraintMatches inIndictment.getConstraintMatchSet(), which are of (or extend) a given constraint justification implementation.Methods in ai.timefold.solver.core.api.score.constraint that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>Indictment. getJustificationList()RetrieveConstraintJustificationinstances associated withConstraintMatches inIndictment.getConstraintMatchSet().Constructors in ai.timefold.solver.core.api.score.constraint with parameters of type ConstraintJustification Constructor Description ConstraintMatch(Constraint constraint, ConstraintJustification justification, Collection<Object> indictedObjectList, Score_ score)ConstraintMatch(String constraintPackage, String constraintName, ConstraintJustification justification, Collection<Object> indictedObjectList, Score_ score)ConstraintMatch(String constraintId, String constraintPackage, String constraintName, ConstraintJustification justification, Collection<Object> indictedObjectList, Score_ score) -
Uses of ConstraintJustification in ai.timefold.solver.core.api.score.stream
Classes in ai.timefold.solver.core.api.score.stream that implement ConstraintJustification Modifier and Type Class Description classDefaultConstraintJustificationDefault implementation ofConstraintJustification, returned byConstraintMatch.getJustification()unless the user defined a custom justification mapping. -
Uses of ConstraintJustification in ai.timefold.solver.core.api.score.stream.bi
Methods in ai.timefold.solver.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 ai.timefold.solver.core.api.score.stream.quad
Methods in ai.timefold.solver.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 ai.timefold.solver.core.api.score.stream.tri
Methods in ai.timefold.solver.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 ai.timefold.solver.core.api.score.stream.uni
Methods in ai.timefold.solver.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 ai.timefold.solver.core.impl.score
Methods in ai.timefold.solver.core.impl.score that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>DefaultScoreExplanation. getJustificationList() -
Uses of ConstraintJustification in ai.timefold.solver.core.impl.score.constraint
Methods in ai.timefold.solver.core.impl.score.constraint that return types with arguments of type ConstraintJustification Modifier and Type Method Description List<ConstraintJustification>DefaultIndictment. getJustificationList()Methods in ai.timefold.solver.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 aConstraintMatchand adds it to the collection returned byDefaultConstraintMatchTotal.getConstraintMatchSet().
-