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 and Description
    `BavetScoringBiTuple(BavetScoringBiNode<A,B> node, BavetAbstractBiTuple<A,B> parentTuple)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `A` | `getFactA()`
    `B` | `getFactB()`
    `Score<?>` | `getMatchScore()`
    `BavetScoringBiNode<A,B>` | `getNode()`
    `UndoScoreImpacter` | `getUndoScoreImpacter()`
    `void` | `refresh()`
    `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

      `getNodeOrder, getState, isActive, isDirty, refreshed, 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

    - #### refresh

          public void refresh()

      Specified by:
        `refresh` in class `BavetAbstractTuple`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getNode

          public BavetScoringBiNode<A,B> getNode()

      Specified by:
        `getNode` in interface `BavetTuple`

    - #### 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`

Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.