Class TriConstraintBuilderImpl<A,B,C,Score_ extends org.optaplanner.core.api.score.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:
org.optaplanner.core.api.score.stream.ConstraintBuilder,org.optaplanner.core.api.score.stream.tri.TriConstraintBuilder<A,B, C, Score_>
public final class TriConstraintBuilderImpl<A,B,C,Score_ extends org.optaplanner.core.api.score.Score<Score_>>
extends AbstractConstraintBuilder<Score_>
implements org.optaplanner.core.api.score.stream.tri.TriConstraintBuilder<A,B,C,Score_>
-
Constructor Summary
ConstructorsConstructorDescriptionTriConstraintBuilderImpl(TriConstraintConstructor<A, B, C, Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.optaplanner.core.api.function.TriFunction<A,B, C, Collection<Object>> protected org.optaplanner.core.api.function.QuadFunction<A,B, C, Score_, org.optaplanner.core.api.score.stream.ConstraintJustification> indictWith(org.optaplanner.core.api.function.TriFunction<A, B, C, Collection<Object>> indictedObjectsMapping) <ConstraintJustification_ extends org.optaplanner.core.api.score.stream.ConstraintJustification>
org.optaplanner.core.api.score.stream.tri.TriConstraintBuilder<A,B, C, Score_> justifyWith(org.optaplanner.core.api.function.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
protected org.optaplanner.core.api.function.QuadFunction<A,B, getJustificationMapping()C, Score_, org.optaplanner.core.api.score.stream.ConstraintJustification> - Specified by:
getJustificationMappingin classAbstractConstraintBuilder<Score_ extends org.optaplanner.core.api.score.Score<Score_>>
-
justifyWith
public <ConstraintJustification_ extends org.optaplanner.core.api.score.stream.ConstraintJustification> org.optaplanner.core.api.score.stream.tri.TriConstraintBuilder<A,B, justifyWithC, Score_> (org.optaplanner.core.api.function.QuadFunction<A, B, C, Score_, ConstraintJustification_> justificationMapping) -
getIndictedObjectsMapping
protected org.optaplanner.core.api.function.TriFunction<A,B, getIndictedObjectsMapping()C, Collection<Object>> - Specified by:
getIndictedObjectsMappingin classAbstractConstraintBuilder<Score_ extends org.optaplanner.core.api.score.Score<Score_>>
-
indictWith
-