Class TriConstraintBuilderImpl<A,B,C,Score_ extends Score<Score_>>
- java.lang.Object
-
- ai.timefold.solver.constraint.streams.common.AbstractConstraintBuilder<Score_>
-
- ai.timefold.solver.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
Constructors Constructor Description TriConstraintBuilderImpl(TriConstraintConstructor<A,B,C,Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TriFunction<A,B,C,Collection<Object>>getIndictedObjectsMapping()protected QuadFunction<A,B,C,Score_,ConstraintJustification>getJustificationMapping()TriConstraintBuilder<A,B,C,Score_>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 ai.timefold.solver.constraint.streams.common.AbstractConstraintBuilder
asConstraint, asConstraint
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ai.timefold.solver.core.api.score.stream.ConstraintBuilder
asConstraint, asConstraint
-
-
-
-
Constructor Detail
-
TriConstraintBuilderImpl
public TriConstraintBuilderImpl(TriConstraintConstructor<A,B,C,Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight)
-
-
Method Detail
-
getJustificationMapping
protected QuadFunction<A,B,C,Score_,ConstraintJustification> getJustificationMapping()
- Specified by:
getJustificationMappingin classAbstractConstraintBuilder<Score_ extends Score<Score_>>
-
justifyWith
public <ConstraintJustification_ extends ConstraintJustification> TriConstraintBuilder<A,B,C,Score_> justifyWith(QuadFunction<A,B,C,Score_,ConstraintJustification_> justificationMapping)
- Specified by:
justifyWithin interfaceTriConstraintBuilder<A,B,C,Score_ extends Score<Score_>>
-
getIndictedObjectsMapping
protected TriFunction<A,B,C,Collection<Object>> getIndictedObjectsMapping()
- Specified by:
getIndictedObjectsMappingin classAbstractConstraintBuilder<Score_ extends Score<Score_>>
-
indictWith
public TriConstraintBuilder<A,B,C,Score_> indictWith(TriFunction<A,B,C,Collection<Object>> indictedObjectsMapping)
- Specified by:
indictWithin interfaceTriConstraintBuilder<A,B,C,Score_ extends Score<Score_>>
-
-