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

## Class BavetScoringBiTuple<A,​B>

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractTuple
  - - org.optaplanner.core.impl.score.stream.bavet.bi.BavetAbstractBiTuple<A,​B>
    - - org.optaplanner.core.impl.score.stream.bavet.bi.BavetScoringBiTuple<A,​B>

- All Implemented Interfaces:
    `BavetScoringTuple`, `BavetTuple`

      public final class BavetScoringBiTuple<A,​B>
      extends BavetAbstractBiTuple<A,​B>
      implements BavetScoringTuple

- - ### Field Summary

    - ### Fields inherited from class org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractTuple

      `state`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BavetScoringBiTuple​(BavetScoringBiNode<A,​B> node, BavetAbstractBiTuple<A,​B> parentTuple)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<BavetAbstractTuple>` | `getChildTupleList()` |
    `A` | `getFactA()` |
    `B` | `getFactB()` |
    `Score<?>` | `getMatchScore()` |
    `BavetScoringBiNode<A,​B>` | `getNode()` |
    `UndoScoreImpacter` | `getUndoScoreImpacter()` |
    `void` | `setMatchScore​(Score<?> matchScore)` |
    `void` | `setUndoScoreImpacter​(UndoScoreImpacter undoScoreImpacter)` |
    `String` | `toString()` |

    - ### Methods inherited from class org.optaplanner.core.impl.score.stream.bavet.bi.BavetAbstractBiTuple

      `getFacts`

    - ### Methods inherited from class org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractTuple

      `getNodeIndex, getState, isActive, isDirty, setState`

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

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

    - ### Methods inherited from interface org.optaplanner.core.impl.score.stream.bavet.common.BavetTuple

      `getFactsString`

- - ### Constructor Detail

    - #### BavetScoringBiTuple

          public BavetScoringBiTuple​(BavetScoringBiNode<A,​B> node,
                                     BavetAbstractBiTuple<A,​B> parentTuple)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getNode

          public BavetScoringBiNode<A,​B> getNode()

      Specified by:
        `getNode` in interface `BavetTuple`
      Specified by:
        `getNode` in class `BavetAbstractTuple`

    - #### getChildTupleList

          public List<BavetAbstractTuple> getChildTupleList()

      Specified by:
        `getChildTupleList` in class `BavetAbstractTuple`

    - #### getFactA

          public A getFactA()

      Specified by:
        `getFactA` in class `BavetAbstractBiTuple<A,​B>`

    - #### getFactB

          public B getFactB()

      Specified by:
        `getFactB` in class `BavetAbstractBiTuple<A,​B>`

    - #### getUndoScoreImpacter

          public UndoScoreImpacter getUndoScoreImpacter()

      Specified by:
        `getUndoScoreImpacter` in interface `BavetScoringTuple`

    - #### setUndoScoreImpacter

          public void setUndoScoreImpacter​(UndoScoreImpacter undoScoreImpacter)

      Specified by:
        `setUndoScoreImpacter` in interface `BavetScoringTuple`

    - #### getMatchScore

          public Score<?> getMatchScore()

      Specified by:
        `getMatchScore` in interface `BavetScoringTuple`

    - #### setMatchScore

          public void setMatchScore​(Score<?> matchScore)

      Specified by:
        `setMatchScore` in interface `BavetScoringTuple`