Class TriConstraintBuilderImpl<A,B,C,Score_ extends Score<Score_>>
java.lang.Object
org.optaplanner.constraint.streams.common.AbstractConstraintBuilder<Score_>
org.optaplanner.constraint.streams.common.tri.TriConstraintBuilderImpl<A,B,C,Score_>
- All Implemented Interfaces:
ConstraintBuilder,TriConstraintBuilder<A,B, C, Score_>
public final class TriConstraintBuilderImpl<A,B,C,Score_ extends Score<Score_>>
extends AbstractConstraintBuilder<Score_>
implements TriConstraintBuilder<A,B,C,Score_>
-
Constructor Summary
ConstructorsConstructorDescriptionTriConstraintBuilderImpl(TriConstraintConstructor<A, B, C, Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected TriFunction<A,B, C, Collection<Object>> protected QuadFunction<A,B, C, Score_, ConstraintJustification> indictWith(TriFunction<A, B, C, Collection<Object>> indictedObjectsMapping) <ConstraintJustification_ extends ConstraintJustification>
TriConstraintBuilder<A,B, C, Score_> justifyWith(QuadFunction<A, B, C, Score_, ConstraintJustification_> justificationMapping) Methods inherited from class org.optaplanner.constraint.streams.common.AbstractConstraintBuilder
asConstraint, asConstraintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.optaplanner.core.api.score.stream.ConstraintBuilder
asConstraint, asConstraint
-
Constructor Details
-
TriConstraintBuilderImpl
public TriConstraintBuilderImpl(TriConstraintConstructor<A, B, C, Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight)
-
-
Method Details
-
getJustificationMapping
- Specified by:
getJustificationMappingin classAbstractConstraintBuilder<Score_ extends Score<Score_>>
-
justifyWith
public <ConstraintJustification_ extends ConstraintJustification> TriConstraintBuilder<A,B, justifyWithC, Score_> (QuadFunction<A, B, C, Score_, ConstraintJustification_> justificationMapping) - Specified by:
justifyWithin interfaceTriConstraintBuilder<A,B, C, Score_ extends Score<Score_>>
-
getIndictedObjectsMapping
- Specified by:
getIndictedObjectsMappingin classAbstractConstraintBuilder<Score_ extends Score<Score_>>
-
indictWith
public TriConstraintBuilder<A,B, indictWithC, Score_> (TriFunction<A, B, C, Collection<Object>> indictedObjectsMapping) - Specified by:
indictWithin interfaceTriConstraintBuilder<A,B, C, Score_ extends Score<Score_>>
-