Package | Description |
---|---|
org.optaplanner.core.api.function |
Functions that are not available in
java.util.function . |
org.optaplanner.core.api.score.stream |
The
ConstraintStream API:
a way to define constraints for Score calculation. |
org.optaplanner.core.api.score.stream.quad |
The
ConstraintStream API for four matched facts. |
org.optaplanner.core.impl.score.stream.drools.quad | |
org.optaplanner.core.impl.score.stream.quad | |
org.optaplanner.core.impl.score.stream.tri |
Modifier and Type | Method and Description |
---|---|
default QuadPredicate<A,B,C,D> |
QuadPredicate.and(QuadPredicate<? super A,? super B,? super C,? super D> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default QuadPredicate<A,B,C,D> |
QuadPredicate.negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default QuadPredicate<A,B,C,D> |
QuadPredicate.or(QuadPredicate<? super A,? super B,? super C,? super D> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
Modifier and Type | Method and Description |
---|---|
default QuadPredicate<A,B,C,D> |
QuadPredicate.and(QuadPredicate<? super A,? super B,? super C,? super D> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default QuadPredicate<A,B,C,D> |
QuadPredicate.or(QuadPredicate<? super A,? super B,? super C,? super D> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
Modifier and Type | Method and Description |
---|---|
static <A,B,C,D> QuadJoiner<A,B,C,D> |
Joiners.filtering(QuadPredicate<A,B,C,D> filter) |
Modifier and Type | Method and Description |
---|---|
QuadConstraintStream<A,B,C,D> |
QuadConstraintStream.filter(QuadPredicate<A,B,C,D> predicate)
Exhaustively test each tuple of facts against the
QuadPredicate
and match if test(Object, Object, Object, Object) returns true. |
Modifier and Type | Method and Description |
---|---|
DroolsQuadCondition<A,B,C,D,PatternVar> |
DroolsQuadCondition.andFilter(QuadPredicate<A,B,C,D> predicate) |
QuadConstraintStream<A,B,C,D> |
DroolsAbstractQuadConstraintStream.filter(QuadPredicate<A,B,C,D> predicate) |
Constructor and Description |
---|
DroolsFilterQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory,
DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent,
QuadPredicate<A,B,C,D> predicate) |
Constructor and Description |
---|
DroolsQuadCondition(DroolsQuadRuleStructure<A,B,C,D,PatternVar> ruleStructure,
DroolsCondition.ImmediatelyPreviousFilter<QuadPredicate<A,B,C,D>> previousFilter) |
Modifier and Type | Method and Description |
---|---|
QuadPredicate<A,B,C,D> |
AbstractQuadJoiner.getFilter() |
Constructor and Description |
---|
AbstractQuadJoiner(QuadPredicate<A,B,C,D> filter) |
FilteringQuadJoiner(QuadPredicate<A,B,C,D> filter) |
Modifier and Type | Method and Description |
---|---|
protected QuadPredicate<A,B,C,D> |
TriConstraintStreamHelper.extractPredicate(QuadJoiner<A,B,C,D> joiner) |
protected QuadPredicate<A,B,C,D> |
TriConstraintStreamHelper.mergePredicates(QuadPredicate<A,B,C,D> predicate1,
QuadPredicate<A,B,C,D> predicate2) |
Modifier and Type | Method and Description |
---|---|
protected QuadConstraintStream<A,B,C,D> |
TriConstraintStreamHelper.filter(QuadConstraintStream<A,B,C,D> stream,
QuadPredicate<A,B,C,D> predicate) |
protected QuadPredicate<A,B,C,D> |
TriConstraintStreamHelper.mergePredicates(QuadPredicate<A,B,C,D> predicate1,
QuadPredicate<A,B,C,D> predicate2) |
protected QuadPredicate<A,B,C,D> |
TriConstraintStreamHelper.mergePredicates(QuadPredicate<A,B,C,D> predicate1,
QuadPredicate<A,B,C,D> predicate2) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.