default <Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.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_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.impact(Score_ constraintWeight,
ToIntBiFunction<A,B> 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_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.impactBigDecimal(Score_ constraintWeight,
BiFunction<A,B,BigDecimal> matchWeigher) |
|
default BiConstraintBuilder<A,B,?> |
BiConstraintStream.impactConfigurable() |
Positively impacts the Score by the ConstraintWeight for each match,
and returns a builder to apply optional constraint properties.
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.impactConfigurable(ToIntBiFunction<A,B> matchWeigher) |
Positively impacts the Score by the ConstraintWeight multiplied by match weight for each match,
and returns a builder to apply optional constraint properties.
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.impactConfigurableBigDecimal(BiFunction<A,B,BigDecimal> matchWeigher) |
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.impactConfigurableLong(ToLongBiFunction<A,B> matchWeigher) |
|
<Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.impactLong(Score_ constraintWeight,
ToLongBiFunction<A,B> matchWeigher) |
|
BiConstraintBuilder<A,B,Score_> |
BiConstraintBuilder.indictWith(BiFunction<A,B,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> BiConstraintBuilder<A,B,Score_> |
BiConstraintBuilder.justifyWith(TriFunction<A,B,Score_,ConstraintJustification_> justificationMapping) |
Sets a custom function to apply on a constraint match to justify it.
|
default <Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.penalize(Score_ constraintWeight) |
|
<Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.penalize(Score_ constraintWeight,
ToIntBiFunction<A,B> 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_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.penalizeBigDecimal(Score_ constraintWeight,
BiFunction<A,B,BigDecimal> matchWeigher) |
|
default BiConstraintBuilder<A,B,?> |
BiConstraintStream.penalizeConfigurable() |
Negatively impacts the Score ,
subtracting the ConstraintWeight for each match,
and returns a builder to apply optional constraint properties.
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.penalizeConfigurable(ToIntBiFunction<A,B> matchWeigher) |
Negatively impacts the Score ,
subtracting the ConstraintWeight multiplied by match weight for each match,
and returns a builder to apply optional constraint properties.
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.penalizeConfigurableBigDecimal(BiFunction<A,B,BigDecimal> matchWeigher) |
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.penalizeConfigurableLong(ToLongBiFunction<A,B> matchWeigher) |
|
<Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.penalizeLong(Score_ constraintWeight,
ToLongBiFunction<A,B> matchWeigher) |
|
default <Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.reward(Score_ constraintWeight) |
|
<Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.reward(Score_ constraintWeight,
ToIntBiFunction<A,B> 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_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.rewardBigDecimal(Score_ constraintWeight,
BiFunction<A,B,BigDecimal> matchWeigher) |
|
default BiConstraintBuilder<A,B,?> |
BiConstraintStream.rewardConfigurable() |
Positively impacts the Score ,
adding the ConstraintWeight for each match,
and returns a builder to apply optional constraint properties.
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.rewardConfigurable(ToIntBiFunction<A,B> matchWeigher) |
Positively impacts the Score ,
adding the ConstraintWeight multiplied by match weight for each match,
and returns a builder to apply optional constraint properties.
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.rewardConfigurableBigDecimal(BiFunction<A,B,BigDecimal> matchWeigher) |
|
BiConstraintBuilder<A,B,?> |
BiConstraintStream.rewardConfigurableLong(ToLongBiFunction<A,B> matchWeigher) |
|
<Score_ extends Score<Score_>> BiConstraintBuilder<A,B,Score_> |
BiConstraintStream.rewardLong(Score_ constraintWeight,
ToLongBiFunction<A,B> matchWeigher) |
|