Class AbstractNode
- java.lang.Object
-
- ai.timefold.solver.constraint.streams.bavet.common.AbstractNode
-
- Direct Known Subclasses:
AbstractFlattenLastNode,AbstractForEachUniNode,AbstractGroupNode,AbstractIfExistsNode,AbstractJoinNode,AbstractMapNode
public abstract class AbstractNode extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractNode()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description longgetLayerIndex()abstract PropagatorgetPropagator()Instead of calling the propagation directly from here, we export the propagation queue and allowBavetConstraintSessionto call it.voidsetId(long id)voidsetLayerIndex(long layerIndex)StringtoString()
-
-
-
Method Detail
-
getPropagator
public abstract Propagator getPropagator()
Instead of calling the propagation directly from here, we export the propagation queue and allowBavetConstraintSessionto call it. This is done with the idea thatPropagatoronly has two implementations (unlikeAbstractNodewith myriad implementations) and therefore JVM call site optimizations will kick in to make the method dispatch faster.- Returns:
- never null; the
PropagationQueuein use by this node
-
setId
public final void setId(long id)
-
setLayerIndex
public final void setLayerIndex(long layerIndex)
-
getLayerIndex
public final long getLayerIndex()
-
-