public final class BavetScoringTriNode<A,B,C> extends BavetAbstractTriNode<A,B,C> implements BavetScoringNode
nodeOrder, session
Constructor and Description |
---|
BavetScoringTriNode(BavetConstraintSession session,
int nodeOrder,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
QuadFunction<A,B,C,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
Modifier and Type | Method and Description |
---|---|
ConstraintMatchTotal |
buildConstraintMatchTotal(Score<?> zeroScore) |
BavetScoringTriTuple<A,B,C> |
createTuple(BavetAbstractTriTuple<A,B,C> parentTuple) |
String |
getConstraintId() |
String |
getConstraintName() |
String |
getConstraintPackage() |
Score<?> |
getConstraintWeight() |
void |
refresh(BavetScoringTriTuple<A,B,C> tuple) |
String |
toString() |
addChildNode
getNodeOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNodeOrder
public BavetScoringTriNode(BavetConstraintSession session, int nodeOrder, String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
public BavetScoringTriTuple<A,B,C> createTuple(BavetAbstractTriTuple<A,B,C> parentTuple)
createTuple
in class BavetAbstractTriNode<A,B,C>
public void refresh(BavetScoringTriTuple<A,B,C> tuple)
public ConstraintMatchTotal buildConstraintMatchTotal(Score<?> zeroScore)
buildConstraintMatchTotal
in interface BavetScoringNode
zeroScore
- never nullpublic String getConstraintPackage()
getConstraintPackage
in interface BavetScoringNode
public String getConstraintName()
getConstraintName
in interface BavetScoringNode
public String getConstraintId()
getConstraintId
in interface BavetScoringNode
public Score<?> getConstraintWeight()
getConstraintWeight
in interface BavetScoringNode
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.