public final class BavetScoringBiNode<A,B> extends BavetAbstractBiNode<A,B> implements BavetScoringNode
nodeOrder, session| Constructor and Description |
|---|
BavetScoringBiNode(BavetConstraintSession session,
int nodeOrder,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
TriFunction<A,B,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
| Modifier and Type | Method and Description |
|---|---|
ConstraintMatchTotal |
buildConstraintMatchTotal(Score<?> zeroScore) |
BavetScoringBiTuple<A,B> |
createTuple(BavetAbstractBiTuple<A,B> parentTuple) |
String |
getConstraintId() |
String |
getConstraintName() |
String |
getConstraintPackage() |
Score<?> |
getConstraintWeight() |
void |
refresh(BavetScoringBiTuple<A,B> tuple) |
String |
toString() |
addChildNodegetNodeOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeOrderpublic BavetScoringBiNode(BavetConstraintSession session, int nodeOrder, String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
public BavetScoringBiTuple<A,B> createTuple(BavetAbstractBiTuple<A,B> parentTuple)
createTuple in class BavetAbstractBiNode<A,B>public void refresh(BavetScoringBiTuple<A,B> tuple)
public ConstraintMatchTotal buildConstraintMatchTotal(Score<?> zeroScore)
buildConstraintMatchTotal in interface BavetScoringNodezeroScore - never nullpublic String getConstraintPackage()
getConstraintPackage in interface BavetScoringNodepublic String getConstraintName()
getConstraintName in interface BavetScoringNodepublic String getConstraintId()
getConstraintId in interface BavetScoringNodepublic Score<?> getConstraintWeight()
getConstraintWeight in interface BavetScoringNodeCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.