Class AbstractNode
java.lang.Object
ai.timefold.solver.constraint.streams.bavet.common.AbstractNode
- Direct Known Subclasses:
AbstractConcatNode,AbstractFlattenLastNode,AbstractForEachUniNode,AbstractGroupNode,AbstractIfExistsNode,AbstractJoinNode,AbstractMapNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal longabstract PropagatorInstead of calling the propagation directly from here, we export the propagation queue and allowBavetConstraintSessionto call it.final voidsetId(long id) final voidsetLayerIndex(long layerIndex) toString()
-
Constructor Details
-
AbstractNode
public AbstractNode()
-
-
Method Details
-
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() -
toString
-