Uses of Interface
ai.timefold.solver.core.api.score.stream.ConstraintJustification
Packages that use ConstraintJustification
Package
Description
Classes used for
Score calculation.The
ConstraintStream API for bi-tuples.The
ConstraintStream API for four matched facts.The
ConstraintStream API for tri-tuples.The
ConstraintStream API for uni-tuples.-
Uses of ConstraintJustification in ai.timefold.solver.core.api.score
Methods in ai.timefold.solver.core.api.score with type parameters of type ConstraintJustificationModifier and TypeMethodDescriptiondefault <ConstraintJustification_ extends ConstraintJustification>
@NonNull List<ConstraintJustification_>ScoreExplanation.getJustificationList(@NonNull 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 ConstraintJustificationModifier and TypeMethodDescription@NonNull List<ConstraintJustification>ScoreExplanation.getJustificationList()Explains theScoreofScoreExplanation.getScore()for all constraints. -
Uses of ConstraintJustification in ai.timefold.solver.core.api.score.analysis
Methods in ai.timefold.solver.core.api.score.analysis that return ConstraintJustificationModifier and TypeMethodDescription@NonNull ConstraintJustificationMatchAnalysis.justification()Returns the value of thejustificationrecord component.Constructors in ai.timefold.solver.core.api.score.analysis with parameters of type ConstraintJustificationModifierConstructorDescriptionMatchAnalysis(@NonNull ConstraintRef constraintRef, @NonNull Score_ score, @NonNull ConstraintJustification justification) Creates an instance of aMatchAnalysisrecord class. -
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 ConstraintJustificationModifier and TypeMethodDescription<Justification_ extends ConstraintJustification>
@Nullable Justification_ConstraintMatch.getJustification()Return a singular justification for the constraint.default <ConstraintJustification_ extends ConstraintJustification>
@NonNull 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 ConstraintJustificationModifier and TypeMethodDescription@NonNull List<ConstraintJustification>Indictment.getJustificationList()RetrieveConstraintJustificationinstances associated withConstraintMatches inIndictment.getConstraintMatchSet().Constructors in ai.timefold.solver.core.api.score.constraint with parameters of type ConstraintJustificationModifierConstructorDescriptionConstraintMatch(@NonNull ConstraintRef constraintRef, @Nullable ConstraintJustification justification, @NonNull Collection<Object> indictedObjectList, @NonNull Score_ score) ConstraintMatch(Constraint constraint, ConstraintJustification justification, Collection<Object> indictedObjectList, Score_ score) Deprecated, for removal: This API element is subject to removal in a future version.ConstraintMatch(String constraintPackage, String constraintName, ConstraintJustification justification, Collection<Object> indictedObjectList, Score_ score) Deprecated, for removal: This API element is subject to removal in a future version.ConstraintMatch(String constraintId, String constraintPackage, String constraintName, ConstraintJustification justification, Collection<Object> indictedObjectList, Score_ score) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ConstraintJustification in ai.timefold.solver.core.api.score.stream
Classes in ai.timefold.solver.core.api.score.stream that implement ConstraintJustificationModifier and TypeClassDescriptionfinal classDefault 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 ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintBuilder.justifyWith(@NonNull 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 ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull QuadConstraintBuilder<A,B, C, D, Score_> QuadConstraintBuilder.justifyWith(@NonNull 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 ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintBuilder.justifyWith(@NonNull 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 ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintBuilder.justifyWith(@NonNull 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 ConstraintJustificationModifier and TypeMethodDescription@NonNull 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 ConstraintJustificationModifier and TypeMethodDescription@NonNull List<ConstraintJustification>DefaultIndictment.getJustificationList()Methods in ai.timefold.solver.core.impl.score.constraint with parameters of type ConstraintJustificationModifier and TypeMethodDescriptionDefaultConstraintMatchTotal.addConstraintMatch(ConstraintJustification justification, Collection<Object> indictedObjects, Score_ score) Creates aConstraintMatchand adds it to the collection returned byDefaultConstraintMatchTotal.getConstraintMatchSet(). -
Uses of ConstraintJustification in ai.timefold.solver.core.impl.score.stream.common.bi
Methods in ai.timefold.solver.core.impl.score.stream.common.bi with type parameters of type ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintBuilderImpl.justifyWith(@NonNull TriFunction<A, B, Score_, ConstraintJustification_> justificationMapping) Methods in ai.timefold.solver.core.impl.score.stream.common.bi that return types with arguments of type ConstraintJustificationModifier and TypeMethodDescriptionprotected TriFunction<A,B, Score_, ConstraintJustification> BiConstraintBuilderImpl.getJustificationMapping() -
Uses of ConstraintJustification in ai.timefold.solver.core.impl.score.stream.common.inliner
Method parameters in ai.timefold.solver.core.impl.score.stream.common.inliner with type arguments of type ConstraintJustificationModifier and TypeMethodDescriptionstatic <A,B, C, D, Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(PentaFunction<A, B, C, D, Score_, ConstraintJustification> justificationMapping, QuadFunction<A, B, C, D, Collection<Object>> indictedObjectsMapping, A a, B b, C c, D d) static <A,B, C, Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(QuadFunction<A, B, C, Score_, ConstraintJustification> justificationMapping, TriFunction<A, B, C, Collection<Object>> indictedObjectsMapping, A a, B b, C c) static <A,B, Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(TriFunction<A, B, Score_, ConstraintJustification> justificationMapping, BiFunction<A, B, Collection<Object>> indictedObjectsMapping, A a, B b) static <A,Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(BiFunction<A, Score<?>, ConstraintJustification> justificationMapping, Function<A, Collection<Object>> indictedObjectsMapping, A a) -
Uses of ConstraintJustification in ai.timefold.solver.core.impl.score.stream.common.quad
Methods in ai.timefold.solver.core.impl.score.stream.common.quad with type parameters of type ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull QuadConstraintBuilder<A,B, C, D, Score_> QuadConstraintBuilderImpl.justifyWith(@NonNull PentaFunction<A, B, C, D, Score_, ConstraintJustification_> justificationMapping) Methods in ai.timefold.solver.core.impl.score.stream.common.quad that return types with arguments of type ConstraintJustificationModifier and TypeMethodDescriptionprotected PentaFunction<A,B, C, D, Score_, ConstraintJustification> QuadConstraintBuilderImpl.getJustificationMapping() -
Uses of ConstraintJustification in ai.timefold.solver.core.impl.score.stream.common.tri
Methods in ai.timefold.solver.core.impl.score.stream.common.tri with type parameters of type ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintBuilderImpl.justifyWith(@NonNull QuadFunction<A, B, C, Score_, ConstraintJustification_> justificationMapping) Methods in ai.timefold.solver.core.impl.score.stream.common.tri that return types with arguments of type ConstraintJustificationModifier and TypeMethodDescriptionprotected QuadFunction<A,B, C, Score_, ConstraintJustification> TriConstraintBuilderImpl.getJustificationMapping() -
Uses of ConstraintJustification in ai.timefold.solver.core.impl.score.stream.common.uni
Methods in ai.timefold.solver.core.impl.score.stream.common.uni with type parameters of type ConstraintJustificationModifier and TypeMethodDescription<ConstraintJustification_ extends ConstraintJustification>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintBuilderImpl.justifyWith(@NonNull BiFunction<A, Score_, ConstraintJustification_> justificationMapping) Methods in ai.timefold.solver.core.impl.score.stream.common.uni that return types with arguments of type ConstraintJustificationModifier and TypeMethodDescriptionprotected BiFunction<A,Score_, ConstraintJustification> UniConstraintBuilderImpl.getJustificationMapping()
ConstraintMatch(ConstraintRef, ConstraintJustification, Collection, Score).