Class IfExistsUniWithUniNode<A,B>
- java.lang.Object
-
- org.optaplanner.constraint.streams.bavet.common.AbstractNode
-
- org.optaplanner.constraint.streams.bavet.uni.IfExistsUniWithUniNode<A,B>
-
public final class IfExistsUniWithUniNode<A,B> extends AbstractNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classIfExistsUniWithUniNode.Counter<A>
-
Constructor Summary
Constructors Constructor Description IfExistsUniWithUniNode(boolean shouldExist, Function<A,IndexProperties> mappingA, Function<B,IndexProperties> mappingB, int inputStoreIndexA, int inputStoreIndexB, Consumer<UniTuple<A>> nextNodesInsert, Consumer<UniTuple<A>> nextNodesRetract, Indexer<UniTuple<A>,IfExistsUniWithUniNode.Counter<A>> indexerA, Indexer<UniTuple<B>,Set<IfExistsUniWithUniNode.Counter<A>>> indexerB, BiPredicate<A,B> filtering)
-
-
-
Constructor Detail
-
IfExistsUniWithUniNode
public IfExistsUniWithUniNode(boolean shouldExist, Function<A,IndexProperties> mappingA, Function<B,IndexProperties> mappingB, int inputStoreIndexA, int inputStoreIndexB, Consumer<UniTuple<A>> nextNodesInsert, Consumer<UniTuple<A>> nextNodesRetract, Indexer<UniTuple<A>,IfExistsUniWithUniNode.Counter<A>> indexerA, Indexer<UniTuple<B>,Set<IfExistsUniWithUniNode.Counter<A>>> indexerB, BiPredicate<A,B> filtering)
-
-
Method Detail
-
calculateScore
public void calculateScore()
- Specified by:
calculateScorein classAbstractNode
-
-