Class QuadConstraintBuilderImpl<A,B,C,D,Score_ extends Score<Score_>>
java.lang.Object
org.optaplanner.constraint.streams.common.AbstractConstraintBuilder<Score_>
org.optaplanner.constraint.streams.common.quad.QuadConstraintBuilderImpl<A,B,C,D,Score_>
- All Implemented Interfaces:
ConstraintBuilder,QuadConstraintBuilder<A,B, C, D, Score_>
public final class QuadConstraintBuilderImpl<A,B,C,D,Score_ extends Score<Score_>>
extends AbstractConstraintBuilder<Score_>
implements QuadConstraintBuilder<A,B,C,D,Score_>
-
Constructor Summary
ConstructorsConstructorDescriptionQuadConstraintBuilderImpl(QuadConstraintConstructor<A, B, C, D, Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected QuadFunction<A,B, C, D, Collection<Object>> protected PentaFunction<A,B, C, D, Score_, ConstraintJustification> indictWith(QuadFunction<A, B, C, D, Collection<Object>> indictedObjectsMapping) <ConstraintJustification_ extends ConstraintJustification>
QuadConstraintBuilder<A,B, C, D, Score_> justifyWith(PentaFunction<A, B, C, D, 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
-
QuadConstraintBuilderImpl
public QuadConstraintBuilderImpl(QuadConstraintConstructor<A, B, C, D, Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight)
-
-
Method Details
-
getJustificationMapping
- Specified by:
getJustificationMappingin classAbstractConstraintBuilder<Score_ extends Score<Score_>>
-
justifyWith
public <ConstraintJustification_ extends ConstraintJustification> QuadConstraintBuilder<A,B, justifyWithC, D, Score_> (PentaFunction<A, B, C, D, Score_, ConstraintJustification_> justificationMapping) - Specified by:
justifyWithin interfaceQuadConstraintBuilder<A,B, C, D, Score_ extends Score<Score_>>
-
getIndictedObjectsMapping
- Specified by:
getIndictedObjectsMappingin classAbstractConstraintBuilder<Score_ extends Score<Score_>>
-
indictWith
public QuadConstraintBuilder<A,B, indictWithC, D, Score_> (QuadFunction<A, B, C, D, Collection<Object>> indictedObjectsMapping) - Specified by:
indictWithin interfaceQuadConstraintBuilder<A,B, C, D, Score_ extends Score<Score_>>
-