default <Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.impact(Score_ constraintWeight) |
Positively or negatively impacts the Score by the constraintWeight for each match
and returns a builder to apply optional constraint properties.
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.impact(Score_ constraintWeight,
ToIntFunction<A> matchWeigher) |
Positively or negatively impacts the Score by constraintWeight multiplied by matchWeight for each match
and returns a builder to apply optional constraint properties.
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.impactBigDecimal(Score_ constraintWeight,
Function<A,BigDecimal> matchWeigher) |
|
default UniConstraintBuilder<A,?> |
UniConstraintStream.impactConfigurable() |
Positively impacts the Score by the ConstraintWeight for each match,
and returns a builder to apply optional constraint properties.
|
UniConstraintBuilder<A,?> |
UniConstraintStream.impactConfigurable(ToIntFunction<A> matchWeigher) |
Positively impacts the Score by the ConstraintWeight multiplied by match weight for each match,
and returns a builder to apply optional constraint properties.
|
UniConstraintBuilder<A,?> |
UniConstraintStream.impactConfigurableBigDecimal(Function<A,BigDecimal> matchWeigher) |
|
UniConstraintBuilder<A,?> |
UniConstraintStream.impactConfigurableLong(ToLongFunction<A> matchWeigher) |
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.impactLong(Score_ constraintWeight,
ToLongFunction<A> matchWeigher) |
|
UniConstraintBuilder<A,Score_> |
UniConstraintBuilder.indictWith(Function<A,Collection<Object>> indictedObjectsMapping) |
Sets a custom function to mark any object returned by it as responsible for causing the constraint to match.
|
<ConstraintJustification_ extends ConstraintJustification> UniConstraintBuilder<A,Score_> |
UniConstraintBuilder.justifyWith(BiFunction<A,Score_,ConstraintJustification_> justificationMapping) |
Sets a custom function to apply on a constraint match to justify it.
|
default <Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.penalize(Score_ constraintWeight) |
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.penalize(Score_ constraintWeight,
ToIntFunction<A> matchWeigher) |
Applies a negative Score impact,
subtracting the constraintWeight multiplied by the match weight,
and returns a builder to apply optional constraint properties.
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.penalizeBigDecimal(Score_ constraintWeight,
Function<A,BigDecimal> matchWeigher) |
|
default UniConstraintBuilder<A,?> |
UniConstraintStream.penalizeConfigurable() |
Negatively impacts the Score ,
subtracting the ConstraintWeight for each match,
and returns a builder to apply optional constraint properties.
|
UniConstraintBuilder<A,?> |
UniConstraintStream.penalizeConfigurable(ToIntFunction<A> matchWeigher) |
Negatively impacts the Score ,
subtracting the ConstraintWeight multiplied by match weight for each match,
and returns a builder to apply optional constraint properties.
|
UniConstraintBuilder<A,?> |
UniConstraintStream.penalizeConfigurableBigDecimal(Function<A,BigDecimal> matchWeigher) |
|
UniConstraintBuilder<A,?> |
UniConstraintStream.penalizeConfigurableLong(ToLongFunction<A> matchWeigher) |
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.penalizeLong(Score_ constraintWeight,
ToLongFunction<A> matchWeigher) |
|
default <Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.reward(Score_ constraintWeight) |
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.reward(Score_ constraintWeight,
ToIntFunction<A> matchWeigher) |
Applies a positive Score impact,
adding the constraintWeight multiplied by the match weight,
and returns a builder to apply optional constraint properties.
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.rewardBigDecimal(Score_ constraintWeight,
Function<A,BigDecimal> matchWeigher) |
|
default UniConstraintBuilder<A,?> |
UniConstraintStream.rewardConfigurable() |
Positively impacts the Score ,
adding the ConstraintWeight for each match,
and returns a builder to apply optional constraint properties.
|
UniConstraintBuilder<A,?> |
UniConstraintStream.rewardConfigurable(ToIntFunction<A> matchWeigher) |
Positively impacts the Score ,
adding the ConstraintWeight multiplied by match weight for each match,
and returns a builder to apply optional constraint properties.
|
UniConstraintBuilder<A,?> |
UniConstraintStream.rewardConfigurableBigDecimal(Function<A,BigDecimal> matchWeigher) |
|
UniConstraintBuilder<A,?> |
UniConstraintStream.rewardConfigurableLong(ToLongFunction<A> matchWeigher) |
|
<Score_ extends Score<Score_>> UniConstraintBuilder<A,Score_> |
UniConstraintStream.rewardLong(Score_ constraintWeight,
ToLongFunction<A> matchWeigher) |
|