Package org.optaplanner.core.impl.score.stream.bavet.common

## Class BavetAbstractNode

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractNode

- All Implemented Interfaces:
    `BavetNode`
  Direct Known Subclasses:
    `BavetAbstractBiNode`, `BavetAbstractTriNode`, `BavetAbstractUniNode`

      public abstract class BavetAbstractNode
      extends Object
      implements BavetNode

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected int` | `nodeIndex` |
    `protected BavetConstraintSession` | `session` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BavetAbstractNode​(BavetConstraintSession session, int nodeIndex)` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getNodeIndex()` |
    `abstract void` | `refresh​(BavetAbstractTuple tuple)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### session

          protected final BavetConstraintSession session

    - #### nodeIndex

          protected final int nodeIndex

  - ### Constructor Detail

    - #### BavetAbstractNode

          public BavetAbstractNode​(BavetConstraintSession session,
                                   int nodeIndex)

  - ### Method Detail

    - #### refresh

          public abstract void refresh​(BavetAbstractTuple tuple)

    - #### getNodeIndex

          public int getNodeIndex()

      Specified by:
        `getNodeIndex` in interface `BavetNode`