public interface IConstraintEvaluator
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(java.lang.Object right,
Tuple left,
IOAVState state)
Evaluate the constraints given the right object, left tuple
(null for alpha nodes) and the state.
|
AttributeSet |
getIndirectAttributes()
Get the set of indirect attribute types.
|
AttributeSet |
getRelevantAttributes()
Get the set of relevant attribute types.
|
boolean |
isAffected(int tupleindex,
OAVAttributeType attr)
Test if a constraint evaluator is affected from a
change of a certain attribute.
|
boolean evaluate(java.lang.Object right, Tuple left, IOAVState state)
right
- The right input object.left
- The left input tuple.state
- The working memory.boolean isAffected(int tupleindex, OAVAttributeType attr)
tupleindex
- The tuple index.attr
- The attribute.AttributeSet getRelevantAttributes()
AttributeSet getIndirectAttributes()