Interface InnerTriConstraintStream<A,B,C>
- All Superinterfaces:
ConstraintStream,TriConstraintStream<A,B, C>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A,B, C> TriFunction<A, B, C, Collection<?>> static <A,B, C> QuadFunction<A, B, C, Score<?>, DefaultConstraintJustification> default TriConstraintStream<A,B, C> distinct()booleanThis method will return true if the constraint stream is guaranteed to only produce distinct tuples.default Constraintdefault Constraintdefault <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> impact(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> impactBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> impactConfigurable(ToIntTriFunction<A, B, C> matchWeigher) default TriConstraintBuilder<A,B, C, ?> impactConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> impactConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> impactLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> innerImpact(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> innerImpact(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> innerImpact(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) default <D> QuadConstraintStream<A,B, C, D> default Constraintdefault Constraintdefault <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> penalize(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> penalizeBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) default ConstraintpenalizeConfigurable(String constraintName) default ConstraintpenalizeConfigurable(String constraintPackage, String constraintName) default TriConstraintBuilder<A,B, C, ?> penalizeConfigurable(ToIntTriFunction<A, B, C> matchWeigher) default TriConstraintBuilder<A,B, C, ?> penalizeConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> penalizeConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> penalizeLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) default Constraintdefault Constraintdefault <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> reward(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> rewardBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) default ConstraintrewardConfigurable(String constraintName) default ConstraintrewardConfigurable(String constraintPackage, String constraintName) default TriConstraintBuilder<A,B, C, ?> rewardConfigurable(ToIntTriFunction<A, B, C> matchWeigher) default TriConstraintBuilder<A,B, C, ?> rewardConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> rewardConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> rewardLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Methods inherited from interface org.optaplanner.core.api.score.stream.ConstraintStream
getConstraintFactoryMethods inherited from interface org.optaplanner.core.api.score.stream.tri.TriConstraintStream
filter, flattenLast, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, ifExists, ifExists, ifExists, ifExists, ifExists, ifExistsIncludingNullVars, ifExistsIncludingNullVars, ifExistsIncludingNullVars, ifExistsIncludingNullVars, ifExistsIncludingNullVars, ifNotExists, ifNotExists, ifNotExists, ifNotExists, ifNotExists, ifNotExistsIncludingNullVars, ifNotExistsIncludingNullVars, ifNotExistsIncludingNullVars, ifNotExistsIncludingNullVars, ifNotExistsIncludingNullVars, impact, impact, impact, impactBigDecimal, impactBigDecimal, impactConfigurable, impactConfigurable, impactConfigurable, impactConfigurableBigDecimal, impactConfigurableBigDecimal, impactConfigurableLong, impactConfigurableLong, impactLong, impactLong, join, join, join, join, join, join, join, join, join, join, join, map, penalize, penalize, penalize, penalizeBigDecimal, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurable, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeConfigurableLong, penalizeLong, penalizeLong, reward, reward, reward, rewardBigDecimal, rewardBigDecimal, rewardConfigurable, rewardConfigurable, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardConfigurableLong, rewardLong, rewardLong
-
Method Details
-
createDefaultJustificationMapping
static <A,B, QuadFunction<A,C> B, createDefaultJustificationMapping()C, Score<?>, DefaultConstraintJustification> -
createDefaultIndictedObjectsMapping
-
getRetrievalSemantics
RetrievalSemantics getRetrievalSemantics() -
guaranteesDistinct
boolean guaranteesDistinct()This method will return true if the constraint stream is guaranteed to only produce distinct tuples. Seedistinct()for details.- Returns:
- true if the guarantee of distinct tuples is provided
-
join
- Specified by:
joinin interfaceTriConstraintStream<A,B, C>
-
distinct
- Specified by:
distinctin interfaceTriConstraintStream<A,B, C>
-
penalize
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, penalizeC, Score_> (Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) - Specified by:
penalizein interfaceTriConstraintStream<A,B, C>
-
penalizeLong
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, penalizeLongC, Score_> (Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) - Specified by:
penalizeLongin interfaceTriConstraintStream<A,B, C>
-
penalizeBigDecimal
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, penalizeBigDecimalC, Score_> (Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) - Specified by:
penalizeBigDecimalin interfaceTriConstraintStream<A,B, C>
-
penalizeConfigurable
- Specified by:
penalizeConfigurablein interfaceTriConstraintStream<A,B, C>
-
penalizeConfigurableLong
default TriConstraintBuilder<A,B, penalizeConfigurableLongC, ?> (ToLongTriFunction<A, B, C> matchWeigher) - Specified by:
penalizeConfigurableLongin interfaceTriConstraintStream<A,B, C>
-
penalizeConfigurableBigDecimal
default TriConstraintBuilder<A,B, penalizeConfigurableBigDecimalC, ?> (TriFunction<A, B, C, BigDecimal> matchWeigher) - Specified by:
penalizeConfigurableBigDecimalin interfaceTriConstraintStream<A,B, C>
-
reward
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, rewardC, Score_> (Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) - Specified by:
rewardin interfaceTriConstraintStream<A,B, C>
-
rewardLong
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, rewardLongC, Score_> (Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) - Specified by:
rewardLongin interfaceTriConstraintStream<A,B, C>
-
rewardBigDecimal
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, rewardBigDecimalC, Score_> (Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) - Specified by:
rewardBigDecimalin interfaceTriConstraintStream<A,B, C>
-
rewardConfigurable
- Specified by:
rewardConfigurablein interfaceTriConstraintStream<A,B, C>
-
rewardConfigurableLong
- Specified by:
rewardConfigurableLongin interfaceTriConstraintStream<A,B, C>
-
rewardConfigurableBigDecimal
default TriConstraintBuilder<A,B, rewardConfigurableBigDecimalC, ?> (TriFunction<A, B, C, BigDecimal> matchWeigher) - Specified by:
rewardConfigurableBigDecimalin interfaceTriConstraintStream<A,B, C>
-
impact
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, impactC, Score_> (Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) - Specified by:
impactin interfaceTriConstraintStream<A,B, C>
-
impactLong
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, impactLongC, Score_> (Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) - Specified by:
impactLongin interfaceTriConstraintStream<A,B, C>
-
impactBigDecimal
default <Score_ extends Score<Score_>> TriConstraintBuilder<A,B, impactBigDecimalC, Score_> (Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) - Specified by:
impactBigDecimalin interfaceTriConstraintStream<A,B, C>
-
impactConfigurable
- Specified by:
impactConfigurablein interfaceTriConstraintStream<A,B, C>
-
impactConfigurableLong
- Specified by:
impactConfigurableLongin interfaceTriConstraintStream<A,B, C>
-
impactConfigurableBigDecimal
default TriConstraintBuilder<A,B, impactConfigurableBigDecimalC, ?> (TriFunction<A, B, C, BigDecimal> matchWeigher) - Specified by:
impactConfigurableBigDecimalin interfaceTriConstraintStream<A,B, C>
-
innerImpact
<Score_ extends Score<Score_>> TriConstraintBuilder<A,B, innerImpactC, Score_> (Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) -
innerImpact
<Score_ extends Score<Score_>> TriConstraintBuilder<A,B, innerImpactC, Score_> (Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) -
innerImpact
<Score_ extends Score<Score_>> TriConstraintBuilder<A,B, innerImpactC, Score_> (Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) -
penalize
- Specified by:
penalizein interfaceConstraintStream
-
penalize
default Constraint penalize(String constraintPackage, String constraintName, Score<?> constraintWeight) - Specified by:
penalizein interfaceConstraintStream
-
penalizeConfigurable
- Specified by:
penalizeConfigurablein interfaceConstraintStream
-
penalizeConfigurable
- Specified by:
penalizeConfigurablein interfaceConstraintStream
-
reward
- Specified by:
rewardin interfaceConstraintStream
-
reward
default Constraint reward(String constraintPackage, String constraintName, Score<?> constraintWeight) - Specified by:
rewardin interfaceConstraintStream
-
rewardConfigurable
- Specified by:
rewardConfigurablein interfaceConstraintStream
-
rewardConfigurable
- Specified by:
rewardConfigurablein interfaceConstraintStream
-
impact
- Specified by:
impactin interfaceConstraintStream
-
impact
default Constraint impact(String constraintPackage, String constraintName, Score<?> constraintWeight) - Specified by:
impactin interfaceConstraintStream
-