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 | |
org.optaplanner.core.impl.score.stream.bavet.uni | |
org.optaplanner.core.impl.score.stream.bi |
Modifier and Type | Method and Description |
---|---|
static <A,B,Property_> |
Joiners.containing(Function<A,? extends Collection<Property_>> leftMapping,
Function<B,Property_> rightMapping) |
static <A,Property_> |
Joiners.disjoint(Function<A,? extends Collection<Property_>> mapping) |
static <A,B,Property_> |
Joiners.disjoint(Function<A,? extends Collection<Property_>> leftMapping,
Function<B,? extends Collection<Property_>> rightMapping) |
static <A,Property_> |
Joiners.equal(Function<A,Property_> mapping) |
static <A,B,Property_> |
Joiners.equal(Function<A,Property_> leftMapping,
Function<B,Property_> rightMapping) |
static <A,Property_ extends Comparable<Property_>> |
Joiners.greaterThan(Function<A,Property_> mapping) |
static <A,B,Property_ extends Comparable<Property_>> |
Joiners.greaterThan(Function<A,Property_> leftMapping,
Function<B,Property_> rightMapping) |
static <A,Property_ extends Comparable<Property_>> |
Joiners.greaterThanOrEqual(Function<A,Property_> mapping) |
static <A,B,Property_ extends Comparable<Property_>> |
Joiners.greaterThanOrEqual(Function<A,Property_> leftMapping,
Function<B,Property_> rightMapping) |
static <A,Property_> |
Joiners.intersecting(Function<A,? extends Collection<Property_>> mapping) |
static <A,B,Property_> |
Joiners.intersecting(Function<A,? extends Collection<Property_>> leftMapping,
Function<B,? extends Collection<Property_>> rightMapping) |
static <A,Property_ extends Comparable<Property_>> |
Joiners.lessThan(Function<A,Property_> mapping) |
static <A,B,Property_ extends Comparable<Property_>> |
Joiners.lessThan(Function<A,Property_> leftMapping,
Function<B,Property_> rightMapping) |
static <A,Property_ extends Comparable<Property_>> |
Joiners.lessThanOrEqual(Function<A,Property_> mapping) |
static <A,B,Property_ extends Comparable<Property_>> |
Joiners.lessThanOrEqual(Function<A,Property_> leftMapping,
Function<B,Property_> rightMapping) |
Modifier and Type | Method and Description |
---|---|
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A>... joiners)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
<A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner)
Create a new
BiConstraintStream for every unique combination of A and another A with a higher PlanningId
for which the BiJoiner is true (for the properties it extracts from both facts). |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2,
BiJoiner<A,A> joiner3)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2,
BiJoiner<A,A> joiner3)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2,
BiJoiner<A,A> joiner3)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2,
BiJoiner<A,A> joiner3,
BiJoiner<A,A> joiner4)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2,
BiJoiner<A,A> joiner3,
BiJoiner<A,A> joiner4)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2,
BiJoiner<A,A> joiner3,
BiJoiner<A,A> joiner4)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
default <A> BiConstraintStream<A,A> |
ConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner1,
BiJoiner<A,A> joiner2,
BiJoiner<A,A> joiner3,
BiJoiner<A,A> joiner4)
As defined by
ConstraintFactory.fromUniquePair(Class, BiJoiner) . |
Modifier and Type | Method and Description |
---|---|
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B>... joiners)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner)
Create a new
BiConstraintStream for every combination of A and B
for which the BiJoiner is true (for the properties it extracts from both facts). |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2,
BiJoiner<A,B> joiner3)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2,
BiJoiner<A,B> joiner3)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2,
BiJoiner<A,B> joiner3)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2,
BiJoiner<A,B> joiner3,
BiJoiner<A,B> joiner4)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2,
BiJoiner<A,B> joiner3,
BiJoiner<A,B> joiner4)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2,
BiJoiner<A,B> joiner3,
BiJoiner<A,B> joiner4)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
default <B> BiConstraintStream<A,B> |
UniConstraintStream.join(Class<B> otherClass,
BiJoiner<A,B> joiner1,
BiJoiner<A,B> joiner2,
BiJoiner<A,B> joiner3,
BiJoiner<A,B> joiner4)
As defined by
UniConstraintStream.join(Class, BiJoiner) . |
<B> BiConstraintStream<A,B> |
UniConstraintStream.join(UniConstraintStream<B> otherStream,
BiJoiner<A,B> joiner)
Create a new
BiConstraintStream for every combination of A and B for which the BiJoiner
is true (for the properties it extracts from both facts). |
Modifier and Type | Method and Description |
---|---|
<A> BiConstraintStream<A,A> |
BavetConstraintFactory.fromUniquePair(Class<A> fromClass,
BiJoiner<A,A> joiner) |
Modifier and Type | Method and Description |
---|---|
<B> BiConstraintStream<A,B> |
BavetAbstractUniConstraintStream.join(UniConstraintStream<B> otherStream,
BiJoiner<A,B> joiner) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBiJoiner<A,B> |
class |
CompositeBiJoiner<A,B> |
class |
NoneBiJoiner<A,B> |
class |
SingleBiJoiner<A,B> |
Modifier and Type | Method and Description |
---|---|
static <A,B> AbstractBiJoiner<A,B> |
AbstractBiJoiner.merge(BiJoiner<A,B>... joiners) |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.