public class InequalityFilterNode extends FilterNode
Constructor and Description |
---|
InequalityFilterNode(ReteContainer reteContainer,
int subject,
TupleMask inequalityMask) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(Tuple ps)
Abstract filtering predicate.
|
pullInto, update
appendParent, assignTraceInfo, getParents, propagatePullInto, removeParent
appendChild, constructIndex, getPulledContents, getReceivers, removeChild
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, constructIndex, getPulledContents, getReceivers, removeChild
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
public InequalityFilterNode(ReteContainer reteContainer, int subject, TupleMask inequalityMask)
reteContainer
- subject
- the index of the element that should be compared.inequalityMask
- the indices of elements that should be different from the subjectIndex.public boolean check(Tuple ps)
FilterNode
check
in class FilterNode
ps
- the matching to be checked.