Class AbstractMapNode<InTuple_ extends Tuple,Right_>
- java.lang.Object
-
- org.optaplanner.constraint.streams.bavet.common.AbstractNode
-
- org.optaplanner.constraint.streams.bavet.common.AbstractMapNode<InTuple_,Right_>
-
- All Implemented Interfaces:
TupleLifecycle<InTuple_>
public abstract class AbstractMapNode<InTuple_ extends Tuple,Right_> extends AbstractNode implements TupleLifecycle<InTuple_>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractMapNode(int inputStoreIndex, TupleLifecycle<UniTuple<Right_>> nextNodesTupleLifecycle, int outputStoreSize)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcalculateScore()voidinsert(InTuple_ tuple)protected abstract Right_map(InTuple_ tuple)voidretract(InTuple_ tuple)voidupdate(InTuple_ tuple)
-
-
-
Constructor Detail
-
AbstractMapNode
protected AbstractMapNode(int inputStoreIndex, TupleLifecycle<UniTuple<Right_>> nextNodesTupleLifecycle, int outputStoreSize)
-
-
Method Detail
-
insert
public void insert(InTuple_ tuple)
- Specified by:
insertin interfaceTupleLifecycle<InTuple_ extends Tuple>
-
update
public void update(InTuple_ tuple)
- Specified by:
updatein interfaceTupleLifecycle<InTuple_ extends Tuple>
-
retract
public void retract(InTuple_ tuple)
- Specified by:
retractin interfaceTupleLifecycle<InTuple_ extends Tuple>
-
calculateScore
public void calculateScore()
- Specified by:
calculateScorein classAbstractNode
-
-