Class AbstractUnindexedIfExistsNode<LeftTuple_ extends Tuple,Right_>
- java.lang.Object
-
- org.optaplanner.constraint.streams.bavet.common.AbstractNode
-
- org.optaplanner.constraint.streams.bavet.common.AbstractIfExistsNode<LeftTuple_,Right_>
-
- org.optaplanner.constraint.streams.bavet.common.AbstractUnindexedIfExistsNode<LeftTuple_,Right_>
-
- Type Parameters:
LeftTuple_-Right_-
- All Implemented Interfaces:
LeftTupleLifecycle<LeftTuple_>,RightTupleLifecycle<UniTuple<Right_>>
public abstract class AbstractUnindexedIfExistsNode<LeftTuple_ extends Tuple,Right_> extends AbstractIfExistsNode<LeftTuple_,Right_> implements LeftTupleLifecycle<LeftTuple_>, RightTupleLifecycle<UniTuple<Right_>>
There is a strong likelihood that any change made to this class should also be made toAbstractIndexedIfExistsNode.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.optaplanner.constraint.streams.bavet.common.AbstractIfExistsNode
AbstractIfExistsNode.FilteringTracker
-
-
Field Summary
-
Fields inherited from class org.optaplanner.constraint.streams.bavet.common.AbstractIfExistsNode
dirtyCounterQueue, inputStoreIndexLeftTrackerList, inputStoreIndexRightTrackerList, isFiltering, shouldExist
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractUnindexedIfExistsNode(boolean shouldExist, int inputStoreIndexLeftCounterEntry, int inputStoreIndexLeftTrackerList, int inputStoreIndexRightEntry, int inputStoreIndexRightTrackerList, TupleLifecycle<LeftTuple_> nextNodesTupleLifecycle, boolean isFiltering)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinsertLeft(LeftTuple_ leftTuple)voidinsertRight(UniTuple<Right_> rightTuple)voidretractLeft(LeftTuple_ leftTuple)voidretractRight(UniTuple<Right_> rightTuple)voidupdateLeft(LeftTuple_ leftTuple)voidupdateRight(UniTuple<Right_> rightTuple)-
Methods inherited from class org.optaplanner.constraint.streams.bavet.common.AbstractIfExistsNode
calculateScore, decrementCounterRight, incrementCounterRight, initCounterLeft, killCounterLeft, testFiltering, updateCounterLeft, updateUnchangedCounterLeft
-
Methods inherited from class org.optaplanner.constraint.streams.bavet.common.AbstractNode
setId, toString
-
-
-
-
Constructor Detail
-
AbstractUnindexedIfExistsNode
protected AbstractUnindexedIfExistsNode(boolean shouldExist, int inputStoreIndexLeftCounterEntry, int inputStoreIndexLeftTrackerList, int inputStoreIndexRightEntry, int inputStoreIndexRightTrackerList, TupleLifecycle<LeftTuple_> nextNodesTupleLifecycle, boolean isFiltering)
-
-
Method Detail
-
insertLeft
public final void insertLeft(LeftTuple_ leftTuple)
- Specified by:
insertLeftin interfaceLeftTupleLifecycle<LeftTuple_ extends Tuple>
-
updateLeft
public final void updateLeft(LeftTuple_ leftTuple)
- Specified by:
updateLeftin interfaceLeftTupleLifecycle<LeftTuple_ extends Tuple>
-
retractLeft
public final void retractLeft(LeftTuple_ leftTuple)
- Specified by:
retractLeftin interfaceLeftTupleLifecycle<LeftTuple_ extends Tuple>
-
insertRight
public final void insertRight(UniTuple<Right_> rightTuple)
- Specified by:
insertRightin interfaceRightTupleLifecycle<LeftTuple_ extends Tuple>
-
updateRight
public final void updateRight(UniTuple<Right_> rightTuple)
- Specified by:
updateRightin interfaceRightTupleLifecycle<LeftTuple_ extends Tuple>
-
retractRight
public final void retractRight(UniTuple<Right_> rightTuple)
- Specified by:
retractRightin interfaceRightTupleLifecycle<LeftTuple_ extends Tuple>
-
-