Uses of Interface
org.optaplanner.core.api.function.QuadFunction
-
-
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,?,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)
Creates constraint collector that returnsList
of the given element type.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)
. -
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_,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)
.Constraint
QuadConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. impactBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. impactConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. impactConfigurableBigDecimal(String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Positively or negatively impact theScore
by theConstraintWeight
for each match.Constraint
QuadConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. penalizeBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. penalizeConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. penalizeConfigurableBigDecimal(String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Negatively impact theScore
: subtract theConstraintWeight
multiplied by the match weight.Constraint
QuadConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. rewardBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. rewardConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. rewardConfigurableBigDecimal(String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Positively impact theScore
: add theConstraintWeight
multiplied by the match weight. -
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. -
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.bavet.tri
Constructors in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type QuadFunction Constructor Description BavetScoringTriNode(BavetConstraintSession session, int nodeIndex, String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.drools.bi
Constructors in org.optaplanner.core.impl.score.stream.drools.bi with parameters of type QuadFunction Constructor Description DroolsGroupingBiConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,NewA> groupKeyAMapping, QuadFunction<A,B,C,D,NewB> groupKeyBMapping)
DroolsGroupingBiConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,NewA> groupKeyMapping, QuadConstraintCollector<A,B,C,D,?,NewB> collector)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.drools.common
Methods in org.optaplanner.core.impl.score.stream.drools.common with parameters of type QuadFunction Modifier and Type Method Description <NewA> UniLeftHandSide<NewA>
QuadLeftHandSide. andGroupBy(QuadFunction<A,B,C,D,NewA> keyMapping)
<NewA,NewB>
BiLeftHandSide<NewA,NewB>QuadLeftHandSide. andGroupBy(QuadFunction<A,B,C,D,NewA> keyMappingA, QuadFunction<A,B,C,D,NewB> keyMappingB)
<NewA,NewB,NewC>
TriLeftHandSide<NewA,NewB,NewC>QuadLeftHandSide. andGroupBy(QuadFunction<A,B,C,D,NewA> keyMappingA, QuadFunction<A,B,C,D,NewB> keyMappingB, QuadConstraintCollector<A,B,C,D,?,NewC> collectorC)
<NewA,NewB,NewC,NewD>
QuadLeftHandSide<NewA,NewB,NewC,NewD>QuadLeftHandSide. andGroupBy(QuadFunction<A,B,C,D,NewA> keyMappingA, QuadFunction<A,B,C,D,NewB> keyMappingB, QuadConstraintCollector<A,B,C,D,?,NewC> collectorC, QuadConstraintCollector<A,B,C,D,?,NewD> collectorD)
<NewA,NewB>
BiLeftHandSide<NewA,NewB>QuadLeftHandSide. andGroupBy(QuadFunction<A,B,C,D,NewA> keyMappingA, QuadConstraintCollector<A,B,C,D,?,NewB> collectorB)
<NewA,NewB,NewC>
TriLeftHandSide<NewA,NewB,NewC>QuadLeftHandSide. andGroupBy(QuadFunction<A,B,C,D,NewA> keyMappingA, QuadConstraintCollector<A,B,C,D,?,NewB> collectorB, QuadConstraintCollector<A,B,C,D,?,NewC> collectorC)
<NewA,NewB,NewC,NewD>
QuadLeftHandSide<NewA,NewB,NewC,NewD>QuadLeftHandSide. andGroupBy(QuadFunction<A,B,C,D,NewA> keyMappingA, QuadConstraintCollector<A,B,C,D,?,NewB> collectorB, QuadConstraintCollector<A,B,C,D,?,NewC> collectorC, QuadConstraintCollector<A,B,C,D,?,NewD> collectorD)
org.optaplanner.core.impl.score.stream.drools.common.AbstractQuadConstraintConsequence<A,B,C,D>
QuadLeftHandSide. andTerminate(QuadFunction<A,B,C,D,BigDecimal> matchWeighter)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.drools.quad
Methods in org.optaplanner.core.impl.score.stream.drools.quad with parameters of type QuadFunction Modifier and Type Method Description <GroupKey_>
UniConstraintStream<GroupKey_>DroolsAbstractQuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKey_> groupKeyMapping)
<GroupKey_,ResultContainer_,Result_>
BiConstraintStream<GroupKey_,Result_>DroolsAbstractQuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKey_> groupKeyMapping, QuadConstraintCollector<A,B,C,D,ResultContainer_,Result_> collector)
<GroupKey_,ResultContainerB_,ResultB_,ResultContainerC_,ResultC_>
TriConstraintStream<GroupKey_,ResultB_,ResultC_>DroolsAbstractQuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKey_> groupKeyMapping, QuadConstraintCollector<A,B,C,D,ResultContainerB_,ResultB_> collectorB, QuadConstraintCollector<A,B,C,D,ResultContainerC_,ResultC_> collectorC)
<GroupKey_,ResultContainerB_,ResultB_,ResultContainerC_,ResultC_,ResultContainerD_,ResultD_>
QuadConstraintStream<GroupKey_,ResultB_,ResultC_,ResultD_>DroolsAbstractQuadConstraintStream. 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)
<GroupKeyA_,GroupKeyB_>
BiConstraintStream<GroupKeyA_,GroupKeyB_>DroolsAbstractQuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping)
<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_>
TriConstraintStream<GroupKeyA_,GroupKeyB_,Result_>DroolsAbstractQuadConstraintStream. groupBy(QuadFunction<A,B,C,D,GroupKeyA_> groupKeyAMapping, QuadFunction<A,B,C,D,GroupKeyB_> groupKeyBMapping, QuadConstraintCollector<A,B,C,D,ResultContainer_,Result_> collector)
<GroupKeyA_,GroupKeyB_,ResultContainerC_,ResultC_,ResultContainerD_,ResultD_>
QuadConstraintStream<GroupKeyA_,GroupKeyB_,ResultC_,ResultD_>DroolsAbstractQuadConstraintStream. 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)
Constraint
DroolsAbstractQuadConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractQuadConstraintStream. impactScoreConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constructors in org.optaplanner.core.impl.score.stream.drools.quad with parameters of type QuadFunction Constructor Description DroolsGroupingQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,NewA> groupKeyAMapping, QuadFunction<A,B,C,D,NewB> groupKeyBMapping, QuadConstraintCollector<A,B,C,D,?,NewC> collectorC, QuadConstraintCollector<A,B,C,D,?,NewD> collectorD)
DroolsGroupingQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,NewA> groupKeyAMapping, QuadConstraintCollector<A,B,C,D,?,NewB> collectorB, QuadConstraintCollector<A,B,C,D,?,NewC> collectorC, QuadConstraintCollector<A,B,C,D,?,NewD> collectorD)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.drools.tri
Constructors in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type QuadFunction Constructor Description DroolsGroupingTriConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,NewA> groupKeyAMapping, QuadFunction<A,B,C,D,NewB> groupKeyBMapping, QuadConstraintCollector<A,B,C,D,?,NewC> collector)
DroolsGroupingTriConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,NewA> groupKeyAMapping, QuadConstraintCollector<A,B,C,D,?,NewB> collectorB, QuadConstraintCollector<A,B,C,D,?,NewC> collectorC)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.drools.uni
Constructors in org.optaplanner.core.impl.score.stream.drools.uni with parameters of type QuadFunction Constructor Description DroolsGroupingUniConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,NewA> groupKeyMapping)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.penta
Methods in org.optaplanner.core.impl.score.stream.penta that return QuadFunction Modifier and Type Method Description abstract QuadFunction<A,B,C,D,Object[]>
AbstractPentaJoiner. getLeftCombinedMapping()
QuadFunction<A,B,C,D,Object[]>
CompositePentaJoiner. getLeftCombinedMapping()
QuadFunction<A,B,C,D,Object[]>
FilteringPentaJoiner. getLeftCombinedMapping()
QuadFunction<A,B,C,D,Object[]>
NonePentaJoiner. getLeftCombinedMapping()
QuadFunction<A,B,C,D,Object[]>
SinglePentaJoiner. getLeftCombinedMapping()
abstract QuadFunction<A,B,C,D,Object>
AbstractPentaJoiner. getLeftMapping(int index)
QuadFunction<A,B,C,D,Object>
CompositePentaJoiner. getLeftMapping(int index)
QuadFunction<A,B,C,D,Object>
FilteringPentaJoiner. getLeftMapping(int index)
QuadFunction<A,B,C,D,Object>
NonePentaJoiner. getLeftMapping(int index)
QuadFunction<A,B,C,D,Object>
SinglePentaJoiner. getLeftMapping()
QuadFunction<A,B,C,D,Object>
SinglePentaJoiner. getLeftMapping(int index)
Constructors in org.optaplanner.core.impl.score.stream.penta with parameters of type QuadFunction Constructor Description SinglePentaJoiner(QuadFunction<A,B,C,D,?> leftMapping, JoinerType joinerType, Function<E,?> rightMapping)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.quad
Methods in org.optaplanner.core.impl.score.stream.quad with parameters of type QuadFunction Modifier and Type Method Description default Constraint
InnerQuadConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
InnerQuadConstraintStream. impactConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Constraint
InnerQuadConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
InnerQuadConstraintStream. impactScoreConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher, ScoreImpactType impactType)
default Constraint
InnerQuadConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
InnerQuadConstraintStream. penalizeConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
InnerQuadConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
InnerQuadConstraintStream. rewardConfigurableBigDecimal(String constraintPackage, String constraintName, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
-
Uses of QuadFunction in org.optaplanner.core.impl.score.stream.tri
Methods in org.optaplanner.core.impl.score.stream.tri that return QuadFunction Modifier and Type Method Description QuadFunction<ResultContainer_,A,B,C,Runnable>
DefaultTriConstraintCollector. accumulator()
Constructors in org.optaplanner.core.impl.score.stream.tri with parameters of type QuadFunction Constructor Description DefaultTriConstraintCollector(Supplier<ResultContainer_> supplier, QuadFunction<ResultContainer_,A,B,C,Runnable> accumulator, Function<ResultContainer_,Result_> finisher)
-