Uses of Interface
org.optaplanner.core.api.function.QuadFunction
-
Packages that use QuadFunction Package Description org.optaplanner.core.api.score.stream org.optaplanner.core.api.score.stream.quad TheConstraintStream
API for four matched facts.org.optaplanner.core.api.score.stream.tri TheConstraintStream
API for tri-tuples.org.optaplanner.core.impl.score.stream -
-
Uses of QuadFunction in org.optaplanner.core.api.score.stream
Methods in org.optaplanner.core.api.score.stream with parameters of type QuadFunction Modifier and Type Method Description static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,BigDecimal>ConstraintCollectors. averageBigDecimal(QuadFunction<A,B,C,D,BigDecimal> groupValueMapping)
As defined byConstraintCollectors.averageBigDecimal(Function)
.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,BigDecimal>ConstraintCollectors. averageBigInteger(QuadFunction<A,B,C,D,BigInteger> groupValueMapping)
As defined byConstraintCollectors.averageBigInteger(Function)
.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,Duration>ConstraintCollectors. averageDuration(QuadFunction<A,B,C,D,Duration> groupValueMapping)
As defined byConstraintCollectors.average(ToIntFunction)
.static <A,B,Result_,SubResultContainer1_,SubResultContainer2_,SubResultContainer3_,SubResultContainer4_,SubResult1_,SubResult2_,SubResult3_,SubResult4_>
BiConstraintCollector<A,B,?,Result_>ConstraintCollectors. compose(BiConstraintCollector<A,B,SubResultContainer1_,SubResult1_> subCollector1, BiConstraintCollector<A,B,SubResultContainer2_,SubResult2_> subCollector2, BiConstraintCollector<A,B,SubResultContainer3_,SubResult3_> subCollector3, BiConstraintCollector<A,B,SubResultContainer4_,SubResult4_> subCollector4, QuadFunction<SubResult1_,SubResult2_,SubResult3_,SubResult4_,Result_> composeFunction)
static <A,B,C,D,Result_,SubResultContainer1_,SubResultContainer2_,SubResultContainer3_,SubResultContainer4_,SubResult1_,SubResult2_,SubResult3_,SubResult4_>
QuadConstraintCollector<A,B,C,D,?,Result_>ConstraintCollectors. compose(QuadConstraintCollector<A,B,C,D,SubResultContainer1_,SubResult1_> subCollector1, QuadConstraintCollector<A,B,C,D,SubResultContainer2_,SubResult2_> subCollector2, QuadConstraintCollector<A,B,C,D,SubResultContainer3_,SubResult3_> subCollector3, QuadConstraintCollector<A,B,C,D,SubResultContainer4_,SubResult4_> subCollector4, QuadFunction<SubResult1_,SubResult2_,SubResult3_,SubResult4_,Result_> composeFunction)
static <A,B,C,Result_,SubResultContainer1_,SubResultContainer2_,SubResultContainer3_,SubResultContainer4_,SubResult1_,SubResult2_,SubResult3_,SubResult4_>
TriConstraintCollector<A,B,C,?,Result_>ConstraintCollectors. compose(TriConstraintCollector<A,B,C,SubResultContainer1_,SubResult1_> subCollector1, TriConstraintCollector<A,B,C,SubResultContainer2_,SubResult2_> subCollector2, TriConstraintCollector<A,B,C,SubResultContainer3_,SubResult3_> subCollector3, TriConstraintCollector<A,B,C,SubResultContainer4_,SubResult4_> subCollector4, QuadFunction<SubResult1_,SubResult2_,SubResult3_,SubResult4_,Result_> composeFunction)
static <A,Result_,SubResultContainer1_,SubResultContainer2_,SubResultContainer3_,SubResultContainer4_,SubResult1_,SubResult2_,SubResult3_,SubResult4_>
UniConstraintCollector<A,?,Result_>ConstraintCollectors. compose(UniConstraintCollector<A,SubResultContainer1_,SubResult1_> subCollector1, UniConstraintCollector<A,SubResultContainer2_,SubResult2_> subCollector2, UniConstraintCollector<A,SubResultContainer3_,SubResult3_> subCollector3, UniConstraintCollector<A,SubResultContainer4_,SubResult4_> subCollector4, QuadFunction<SubResult1_,SubResult2_,SubResult3_,SubResult4_,Result_> composeFunction)
Returns a constraint collector the result of which is a composition of other constraint collectors.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,Integer>ConstraintCollectors. countDistinct(QuadFunction<A,B,C,D,?> groupValueMapping)
As defined byConstraintCollectors.countDistinct(Function)
.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,Long>ConstraintCollectors. countDistinctLong(QuadFunction<A,B,C,D,?> groupValueMapping)
As defined byConstraintCollectors.countDistinct(Function)
.static <A,B,C,D,E,Property_>
PentaJoiner<A,B,C,D,E>Joiners. equal(QuadFunction<A,B,C,D,Property_> leftMapping, Function<E,Property_> rightMapping)
As defined byJoiners.equal(Function, Function)
static <A,B,C,D,E,Property_ extends Comparable<Property_>>
PentaJoiner<A,B,C,D,E>Joiners. greaterThan(QuadFunction<A,B,C,D,Property_> leftMapping, Function<E,Property_> rightMapping)
As defined byJoiners.greaterThan(Function, Function)
static <A,B,C,D,E,Property_ extends Comparable<Property_>>
PentaJoiner<A,B,C,D,E>Joiners. greaterThanOrEqual(QuadFunction<A,B,C,D,Property_> leftMapping, Function<E,Property_> rightMapping)
As defined byJoiners.greaterThanOrEqual(Function, Function)
static <A,B,C,D,E,Property_ extends Comparable<Property_>>
PentaJoiner<A,B,C,D,E>Joiners. lessThan(QuadFunction<A,B,C,D,Property_> leftMapping, Function<E,Property_> rightMapping)
As defined byJoiners.lessThan(Function, Function)
static <A,B,C,D,E,Property_ extends Comparable<Property_>>
PentaJoiner<A,B,C,D,E>Joiners. lessThanOrEqual(QuadFunction<A,B,C,D,Property_> leftMapping, Function<E,Property_> rightMapping)
As defined byJoiners.lessThanOrEqual(Function, Function)
static <A,B,C,D,Mapped extends Comparable<Mapped>>
QuadConstraintCollector<A,B,C,D,?,Mapped>ConstraintCollectors. max(QuadFunction<A,B,C,D,Mapped> groupValueMapping)
As defined byConstraintCollectors.max(Function)
.static <A,B,C,D,Mapped>
QuadConstraintCollector<A,B,C,D,?,Mapped>ConstraintCollectors. max(QuadFunction<A,B,C,D,Mapped> groupValueMapping, Comparator<Mapped> comparator)
As defined byConstraintCollectors.max(Function)
, only with a customComparator
.static <A,B,C,D,Mapped extends Comparable<Mapped>>
QuadConstraintCollector<A,B,C,D,?,Mapped>ConstraintCollectors. min(QuadFunction<A,B,C,D,Mapped> groupValueMapping)
As defined byConstraintCollectors.min(Function)
.static <A,B,C,D,Mapped>
QuadConstraintCollector<A,B,C,D,?,Mapped>ConstraintCollectors. min(QuadFunction<A,B,C,D,Mapped> groupValueMapping, Comparator<Mapped> comparator)
As defined byConstraintCollectors.min(Function)
, only with a customComparator
.static <A,B,C,D,E,Property_ extends Comparable<Property_>>
PentaJoiner<A,B,C,D,E>Joiners. overlapping(QuadFunction<A,B,C,D,Property_> leftStartMapping, QuadFunction<A,B,C,D,Property_> leftEndMapping, Function<E,Property_> rightStartMapping, Function<E,Property_> rightEndMapping)
As defined byJoiners.overlapping(Function, Function)
.static <A,B,C,D,Result>
QuadConstraintCollector<A,B,C,D,?,Result>ConstraintCollectors. sum(QuadFunction<? super A,? super B,? super C,? super D,Result> groupValueMapping, Result zero, BinaryOperator<Result> adder, BinaryOperator<Result> subtractor)
As defined byConstraintCollectors.sum(ToIntFunction)
.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,BigDecimal>ConstraintCollectors. sumBigDecimal(QuadFunction<? super A,? super B,? super C,? super D,BigDecimal> groupValueMapping)
As defined byConstraintCollectors.sum(ToIntFunction)
.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,BigInteger>ConstraintCollectors. sumBigInteger(QuadFunction<? super A,? super B,? super C,? super D,BigInteger> groupValueMapping)
As defined byConstraintCollectors.sum(ToIntFunction)
.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,Duration>ConstraintCollectors. sumDuration(QuadFunction<? super A,? super B,? super C,? super D,Duration> groupValueMapping)
As defined byConstraintCollectors.sum(ToIntFunction)
.static <A,B,C,D>
QuadConstraintCollector<A,B,C,D,?,Period>ConstraintCollectors. sumPeriod(QuadFunction<? super A,? super B,? super C,? super D,Period> groupValueMapping)
As defined byConstraintCollectors.sum(ToIntFunction)
.static <A,B,C,D,Mapped,Result extends Collection<Mapped>>
QuadConstraintCollector<A,B,C,D,?,Result>ConstraintCollectors. toCollection(QuadFunction<A,B,C,D,Mapped> groupValueMapping, IntFunction<Result> collectionFunction)
static <A,B,C,D,Mapped>
QuadConstraintCollector<A,B,C,D,?,List<Mapped>>ConstraintCollectors. toList(QuadFunction<A,B,C,D,Mapped> groupValueMapping)
As defined byConstraintCollectors.toList(Function)
.static <A,B,C,D,Key,Value>
QuadConstraintCollector<A,B,C,D,?,Map<Key,Set<Value>>>ConstraintCollectors. toMap(QuadFunction<? super A,? super B,? super C,? super D,? extends Key> keyMapper, QuadFunction<? super A,? super B,? super C,? super D,? extends Value> valueMapper)
As defined byConstraintCollectors.toMap(Function, Function)
.static <A,B,C,D,Key,Value>
QuadConstraintCollector<A,B,C,D,?,Map<Key,Value>>ConstraintCollectors. toMap(QuadFunction<? super A,? super B,? super C,? super D,? extends Key> keyMapper, QuadFunction<? super A,? super B,? super C,? super D,? extends Value> valueMapper, BinaryOperator<Value> mergeFunction)
static <A,B,C,D,Key,Value,ValueSet extends Set<Value>>
QuadConstraintCollector<A,B,C,D,?,Map<Key,ValueSet>>ConstraintCollectors. toMap(QuadFunction<? super A,? super B,? super C,? super D,? extends Key> keyMapper, QuadFunction<? super A,? super B,? super C,? super D,? extends Value> valueMapper, IntFunction<ValueSet> valueSetFunction)
As defined byConstraintCollectors.toMap(Function, Function, IntFunction)
.static <A,B,C,D,Mapped>
QuadConstraintCollector<A,B,C,D,?,Set<Mapped>>ConstraintCollectors. toSet(QuadFunction<A,B,C,D,Mapped> groupValueMapping)
As defined byConstraintCollectors.toSet(Function)
.static <A,B,C,D,Key extends Comparable<Key>,Value>
QuadConstraintCollector<A,B,C,D,?,SortedMap<Key,Set<Value>>>ConstraintCollectors. toSortedMap(QuadFunction<? super A,? super B,? super C,? super D,? extends Key> keyMapper, QuadFunction<? super A,? super B,? super C,? super D,? extends Value> valueMapper)
As defined byConstraintCollectors.toSortedMap(Function, Function)
.static <A,B,C,D,Key extends Comparable<Key>,Value>
QuadConstraintCollector<A,B,C,D,?,SortedMap<Key,Value>>ConstraintCollectors. toSortedMap(QuadFunction<? super A,? super B,? super C,? super D,? extends Key> keyMapper, QuadFunction<? super A,? super B,? super C,? super D,? extends Value> valueMapper, BinaryOperator<Value> mergeFunction)
static <A,B,C,D,Key extends Comparable<Key>,Value,ValueSet extends Set<Value>>
QuadConstraintCollector<A,B,C,D,?,SortedMap<Key,ValueSet>>ConstraintCollectors. toSortedMap(QuadFunction<? super A,? super B,? super C,? super D,? extends Key> keyMapper, QuadFunction<? super A,? super B,? super C,? super D,? extends Value> valueMapper, IntFunction<ValueSet> valueSetFunction)
static <A,B,C,D,Mapped extends Comparable<Mapped>>
QuadConstraintCollector<A,B,C,D,?,SortedSet<Mapped>>ConstraintCollectors. toSortedSet(QuadFunction<A,B,C,D,Mapped> groupValueMapping)
As defined byConstraintCollectors.toSortedSet(Function)
.static <A,B,C,D,Mapped>
QuadConstraintCollector<A,B,C,D,?,SortedSet<Mapped>>ConstraintCollectors. toSortedSet(QuadFunction<A,B,C,D,Mapped> groupValueMapping, Comparator<Mapped> comparator)
As defined byConstraintCollectors.toSortedSet(Function, Comparator)
. -
Uses of QuadFunction in org.optaplanner.core.api.score.stream.quad
Methods in org.optaplanner.core.api.score.stream.quad with parameters of type QuadFunction Modifier and Type Method Description <GroupKey_>
UniConstraintStream<GroupKey_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKey_> groupKeyMapping)
Convert theQuadConstraintStream
to aUniConstraintStream
, containing the set of tuples resulting from applying the group key mapping function on all tuples of the original stream.<GroupKey_,ResultContainer_,Result_>
BiConstraintStream<GroupKey_,Result_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKey_> groupKeyMapping, QuadConstraintCollector<A,B,C,D,ResultContainer_,Result_> collector)
Convert theQuadConstraintStream
to aBiConstraintStream
, consisting of unique tuples.<GroupKey_,ResultContainerB_,ResultB_,ResultContainerC_,ResultC_>
TriConstraintStream<GroupKey_,ResultB_,ResultC_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKey_> groupKeyMapping, QuadConstraintCollector<A,B,C,D,ResultContainerB_,ResultB_> collectorB, QuadConstraintCollector<A,B,C,D,ResultContainerC_,ResultC_> collectorC)
Convert theQuadConstraintStream
to aTriConstraintStream
, consisting of unique tuples with three facts.<GroupKey_,ResultContainerB_,ResultB_,ResultContainerC_,ResultC_,ResultContainerD_,ResultD_>
QuadConstraintStream<GroupKey_,ResultB_,ResultC_,ResultD_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKey_> groupKeyMapping, QuadConstraintCollector<A,B,C,D,ResultContainerB_,ResultB_> collectorB, QuadConstraintCollector<A,B,C,D,ResultContainerC_,ResultC_> collectorC, QuadConstraintCollector<A,B,C,D,ResultContainerD_,ResultD_> collectorD)
Convert theQuadConstraintStream
to aQuadConstraintStream
, consisting of unique tuples with four facts.<GroupKeyA_,GroupKeyB_>
BiConstraintStream<GroupKeyA_,GroupKeyB_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping)
Convert theQuadConstraintStream
to aBiConstraintStream
, consisting of unique tuples.<GroupKeyA_,GroupKeyB_,GroupKeyC_>
TriConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping, QuadFunction<A,B,C,D,GroupKeyC_> groupKeyCMapping)
Convert theQuadConstraintStream
to aTriConstraintStream
, consisting of unique tuples with three facts.<GroupKeyA_,GroupKeyB_,GroupKeyC_,GroupKeyD_>
QuadConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_,GroupKeyD_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping, QuadFunction<A,B,C,D,GroupKeyC_> groupKeyCMapping, QuadFunction<A,B,C,D,GroupKeyD_> groupKeyDMapping)
Convert theTriConstraintStream
to aQuadConstraintStream
, consisting of unique tuples with four facts.<GroupKeyA_,GroupKeyB_,GroupKeyC_,ResultContainerD_,ResultD_>
QuadConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_,ResultD_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping, QuadFunction<A,B,C,D,GroupKeyC_> groupKeyCMapping, QuadConstraintCollector<A,B,C,D,ResultContainerD_,ResultD_> collectorD)
Combines the semantics ofQuadConstraintStream.groupBy(QuadFunction, QuadFunction)
andQuadConstraintStream.groupBy(QuadConstraintCollector)
.<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_>
TriConstraintStream<GroupKeyA_,GroupKeyB_,Result_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping, QuadConstraintCollector<A,B,C,D,ResultContainer_,Result_> collector)
Combines the semantics ofQuadConstraintStream.groupBy(QuadFunction, QuadFunction)
andQuadConstraintStream.groupBy(QuadConstraintCollector)
.<GroupKeyA_,GroupKeyB_,ResultContainerC_,ResultC_,ResultContainerD_,ResultD_>
QuadConstraintStream<GroupKeyA_,GroupKeyB_,ResultC_,ResultD_>QuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping, QuadConstraintCollector<A,B,C,D,ResultContainerC_,ResultC_> collectorC, QuadConstraintCollector<A,B,C,D,ResultContainerD_,ResultD_> collectorD)
Combines the semantics ofQuadConstraintStream.groupBy(QuadFunction, QuadFunction)
andQuadConstraintStream.groupBy(QuadConstraintCollector)
.default Constraint
QuadConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream. impactBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.<Score_ extends Score<Score_>>
QuadConstraintBuilder<A,B,C,D,Score_>QuadConstraintStream. impactBigDecimal(Score_ constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
As defined byQuadConstraintStream.impact(Score, ToIntQuadFunction)
, with an impact of typeBigDecimal
.default Constraint
QuadConstraintStream. impactConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream. impactConfigurableBigDecimal(String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.QuadConstraintBuilder<A,B,C,D,?>
QuadConstraintStream. impactConfigurableBigDecimal(QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
As defined byQuadConstraintStream.impactConfigurable(ToIntQuadFunction)
, with an impact of type BigDecimal.QuadConstraintBuilder<A,B,C,D,Score_>
QuadConstraintBuilder. indictWith(QuadFunction<A,B,C,D,Collection<Object>> indictedObjectsMapping)
Sets a custom function to mark any object returned by it as responsible for causing the constraint to match.<ResultA_> UniConstraintStream<ResultA_>
QuadConstraintStream. map(QuadFunction<A,B,C,D,ResultA_> mapping)
As defined byUniConstraintStream.map(Function)
.default Constraint
QuadConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream. penalizeBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.<Score_ extends Score<Score_>>
QuadConstraintBuilder<A,B,C,D,Score_>QuadConstraintStream. penalizeBigDecimal(Score_ constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
As defined byQuadConstraintStream.penalize(Score, ToIntQuadFunction)
, with a penalty of typeBigDecimal
.default Constraint
QuadConstraintStream. penalizeConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream. penalizeConfigurableBigDecimal(String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.QuadConstraintBuilder<A,B,C,D,?>
QuadConstraintStream. penalizeConfigurableBigDecimal(QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
As defined byQuadConstraintStream.penalizeConfigurable(ToIntQuadFunction)
, with a penalty of typeBigDecimal
.default Constraint
QuadConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream. rewardBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.<Score_ extends Score<Score_>>
QuadConstraintBuilder<A,B,C,D,Score_>QuadConstraintStream. rewardBigDecimal(Score_ constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
As defined byQuadConstraintStream.reward(Score, ToIntQuadFunction)
, with a penalty of typeBigDecimal
.default Constraint
QuadConstraintStream. rewardConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream. rewardConfigurableBigDecimal(String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Deprecated, for removal: This API element is subject to removal in a future version.QuadConstraintBuilder<A,B,C,D,?>
QuadConstraintStream. rewardConfigurableBigDecimal(QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
As defined byQuadConstraintStream.rewardConfigurable(ToIntQuadFunction)
, with a penalty of typeBigDecimal
. -
Uses of QuadFunction in org.optaplanner.core.api.score.stream.tri
Methods in org.optaplanner.core.api.score.stream.tri that return QuadFunction Modifier and Type Method Description QuadFunction<ResultContainer_,A,B,C,Runnable>
TriConstraintCollector. accumulator()
A lambda that extracts data from the matched facts, accumulates it in the result container and returns an undo operation for that accumulation.Methods in org.optaplanner.core.api.score.stream.tri with parameters of type QuadFunction Modifier and Type Method Description <ConstraintJustification_ extends ConstraintJustification>
TriConstraintBuilder<A,B,C,Score_>TriConstraintBuilder. justifyWith(QuadFunction<A,B,C,Score_,ConstraintJustification_> justificationMapping)
Sets a custom function to apply on a constraint match to justify it. -
Uses of QuadFunction in org.optaplanner.core.impl.score.stream
Methods in org.optaplanner.core.impl.score.stream with parameters of type QuadFunction Modifier and Type Method Description <A,B,C,D,E,Property_>
PentaJoiner<A,B,C,D,E>JoinerService. newPentaJoiner(QuadFunction<A,B,C,D,Property_> leftMapping, JoinerType joinerType, Function<E,Property_> rightMapping)
-