Interface IConstraintEvaluator
- 
- All Known Implementing Classes:
- AndConstraintEvaluator,- ConstraintEvaluator,- NotConstraintEvaluator,- OrConstraintEvaluator
 
 public interface IConstraintEvaluatorInterface for all constraint evaluators. They are used to abstract away the tests nodes have to perform.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate(java.lang.Object right, Tuple left, IOAVState state)Evaluate the constraints given the right object, left tuple (null for alpha nodes) and the state.AttributeSetgetIndirectAttributes()Get the set of indirect attribute types.AttributeSetgetRelevantAttributes()Get the set of relevant attribute types.booleanisAffected(int tupleindex, OAVAttributeType attr)Test if a constraint evaluator is affected from a change of a certain attribute.
 
- 
- 
- 
Method Detail- 
evaluateboolean 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.- Parameters:
- right- The right input object.
- left- The left input tuple.
- state- The working memory.
 
 - 
isAffectedboolean isAffected(int tupleindex, OAVAttributeType attr)Test if a constraint evaluator is affected from a change of a certain attribute.- Parameters:
- tupleindex- The tuple index.
- attr- The attribute.
- Returns:
- True, if affected.
 
 - 
getRelevantAttributesAttributeSet getRelevantAttributes() Get the set of relevant attribute types.
 - 
getIndirectAttributesAttributeSet getIndirectAttributes() Get the set of indirect attribute types. I.e. attributes of objects, which are not part of an object conditions (e.g. for chained extractors)- Returns:
- The relevant attribute types.
 
 
- 
 
-