Class BavetScoringUniNode<A>
- java.lang.Object
-
- org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractNode
-
- org.optaplanner.core.impl.score.stream.bavet.uni.BavetAbstractUniNode<A>
-
- org.optaplanner.core.impl.score.stream.bavet.uni.BavetScoringUniNode<A>
-
- All Implemented Interfaces:
BavetNode
,BavetScoringNode
public final class BavetScoringUniNode<A> extends BavetAbstractUniNode<A> implements BavetScoringNode
-
-
Field Summary
-
Fields inherited from class org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractNode
nodeIndex, session
-
-
Constructor Summary
Constructors Constructor Description BavetScoringUniNode(BavetConstraintSession session, int nodeIndex, Score<?> constraintWeight, Function<A,UndoScoreImpacter> scoreImpacter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BavetScoringUniTuple<A>
createTuple(BavetAbstractUniTuple<A> parentTuple)
List<BavetAbstractUniNode<A>>
getChildNodeList()
void
refresh(BavetAbstractTuple uncastTuple)
String
toString()
-
Methods inherited from class org.optaplanner.core.impl.score.stream.bavet.uni.BavetAbstractUniNode
addChildNode
-
Methods inherited from class org.optaplanner.core.impl.score.stream.bavet.common.BavetAbstractNode
getNodeIndex
-
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.BavetNode
getNodeIndex
-
-
-
-
Constructor Detail
-
BavetScoringUniNode
public BavetScoringUniNode(BavetConstraintSession session, int nodeIndex, Score<?> constraintWeight, Function<A,UndoScoreImpacter> scoreImpacter)
-
-
Method Detail
-
getChildNodeList
public List<BavetAbstractUniNode<A>> getChildNodeList()
- Overrides:
getChildNodeList
in classBavetAbstractUniNode<A>
-
createTuple
public BavetScoringUniTuple<A> createTuple(BavetAbstractUniTuple<A> parentTuple)
- Specified by:
createTuple
in classBavetAbstractUniNode<A>
-
refresh
public void refresh(BavetAbstractTuple uncastTuple)
- Specified by:
refresh
in classBavetAbstractNode
-
-