Package | Description |
---|---|
org.optaplanner.core.api.score.stream |
The
ConstraintStream API:
a way to define constraints for Score calculation. |
org.optaplanner.core.api.score.stream.uni |
The
ConstraintStream API for one matched fact. |
org.optaplanner.core.impl.score.stream.bavet.uni | |
org.optaplanner.core.impl.score.stream.drools.uni | |
org.optaplanner.core.impl.score.stream.uni |
Modifier and Type | Method and Description |
---|---|
static <A> UniConstraintCollector<A,?,Integer> |
ConstraintCollectors.count() |
static <A> UniConstraintCollector<A,?,Integer> |
ConstraintCollectors.countDistinct(Function<A,?> groupValueMapping) |
static <A> UniConstraintCollector<A,?,Long> |
ConstraintCollectors.countDistinctLong(Function<A,?> groupValueMapping) |
static <A> UniConstraintCollector<A,?,Long> |
ConstraintCollectors.countLong() |
static <A extends Comparable<A>> |
ConstraintCollectors.max() |
static <A> UniConstraintCollector<A,?,A> |
ConstraintCollectors.max(Comparator<A> comparator) |
static <A extends Comparable<A>> |
ConstraintCollectors.min() |
static <A> UniConstraintCollector<A,?,A> |
ConstraintCollectors.min(Comparator<A> comparator) |
static <A> UniConstraintCollector<A,?,Integer> |
ConstraintCollectors.sum(ToIntFunction<? super A> groupValueMapping) |
static <A> UniConstraintCollector<A,?,Long> |
ConstraintCollectors.sumLong(ToLongFunction<? super A> groupValueMapping) |
Modifier and Type | Method and Description |
---|---|
<GroupKey_,ResultContainer_,Result_> |
UniConstraintStream.groupBy(Function<A,GroupKey_> groupKeyMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector) |
<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> |
UniConstraintStream.groupBy(Function<A,GroupKeyA_> groupKeyAMapping,
Function<A,GroupKeyB_> groupKeyBMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector) |
<GroupKey_,ResultContainer_,Result_> |
UniConstraintStream.groupBy(UniConstraintCollector<A,ResultContainer_,Result_> collector) |
Modifier and Type | Method and Description |
---|---|
<GroupKey_,ResultContainer_,Result_> |
BavetAbstractUniConstraintStream.groupBy(Function<A,GroupKey_> groupKeyMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector) |
<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> |
BavetAbstractUniConstraintStream.groupBy(Function<A,GroupKeyA_> groupKeyAMapping,
Function<A,GroupKeyB_> groupKeyBMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector) |
<GroupKey_,ResultContainer_,Result_> |
BavetAbstractUniConstraintStream.groupBy(UniConstraintCollector<A,ResultContainer_,Result_> collector) |
Constructor and Description |
---|
BavetGroupBridgeUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory,
BavetAbstractUniConstraintStream<Solution_,A> parent,
Function<A,GroupKey_> groupKeyMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector) |
BavetGroupBridgeUniNode(BavetConstraintSession session,
int nodeOrder,
BavetAbstractUniNode<A> parentNode,
Function<A,GroupKey_> groupKeyMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector,
BavetGroupBiNode<GroupKey_,ResultContainer_,Result_> groupNode) |
Modifier and Type | Method and Description |
---|---|
<GroupKey_,ResultContainer_,Result_> |
DroolsAbstractUniConstraintStream.groupBy(Function<A,GroupKey_> groupKeyMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector) |
<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> |
DroolsAbstractUniConstraintStream.groupBy(Function<A,GroupKeyA_> groupKeyAMapping,
Function<A,GroupKeyB_> groupKeyBMapping,
UniConstraintCollector<A,ResultContainer_,Result_> collector) |
<GroupKey_,ResultContainer_,Result_> |
DroolsAbstractUniConstraintStream.groupBy(UniConstraintCollector<A,ResultContainer_,Result_> collector) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultUniConstraintCollector<A,ResultContainer_,Result_> |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.