Class BiConstraintBuilderImpl<A,B,Score_ extends org.optaplanner.core.api.score.Score<Score_>>
java.lang.Object
org.optaplanner.constraint.streams.common.AbstractConstraintBuilder<Score_>
org.optaplanner.constraint.streams.common.bi.BiConstraintBuilderImpl<A,B,Score_>
- All Implemented Interfaces:
org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,,B, Score_> org.optaplanner.core.api.score.stream.ConstraintBuilder
public final class BiConstraintBuilderImpl<A,B,Score_ extends org.optaplanner.core.api.score.Score<Score_>>
extends AbstractConstraintBuilder<Score_>
implements org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B,Score_>
-
Constructor Summary
ConstructorsConstructorDescriptionBiConstraintBuilderImpl(BiConstraintConstructor<A, B, Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected BiFunction<A,B, Collection<Object>> protected org.optaplanner.core.api.function.TriFunction<A,B, Score_, org.optaplanner.core.api.score.stream.ConstraintJustification> indictWith(BiFunction<A, B, Collection<Object>> indictedObjectsMapping) <ConstraintJustification_ extends org.optaplanner.core.api.score.stream.ConstraintJustification>
org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B, Score_> justifyWith(org.optaplanner.core.api.function.TriFunction<A, B, 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
-
BiConstraintBuilderImpl
public BiConstraintBuilderImpl(BiConstraintConstructor<A, B, Score_> constraintConstructor, ScoreImpactType impactType, Score_ constraintWeight)
-
-
Method Details
-
getJustificationMapping
protected org.optaplanner.core.api.function.TriFunction<A,B, getJustificationMapping()Score_, org.optaplanner.core.api.score.stream.ConstraintJustification> - Specified by:
getJustificationMappingin classAbstractConstraintBuilder<Score_ extends org.optaplanner.core.api.score.Score<Score_>>
-
justifyWith
-
getIndictedObjectsMapping
- Specified by:
getIndictedObjectsMappingin classAbstractConstraintBuilder<Score_ extends org.optaplanner.core.api.score.Score<Score_>>
-
indictWith
public org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B, indictWithScore_> (BiFunction<A, B, Collection<Object>> indictedObjectsMapping)
-