Class InequalityFilterNode

    • Constructor Detail

      • InequalityFilterNode

        public InequalityFilterNode​(ReteContainer reteContainer,
                                    int subject,
                                    TupleMask inequalityMask)
        Parameters:
        reteContainer -
        subject - the index of the element that should be compared.
        inequalityMask - the indices of elements that should be different from the subjectIndex.
    • Method Detail

      • check

        public boolean check​(Tuple ps)
        Description copied from class: FilterNode
        Abstract filtering predicate. Expected to be stateless.
        Specified by:
        check in class FilterNode
        Parameters:
        ps - the matching to be checked.
        Returns:
        true if and only if the parameter matching is allowed to pass through this node.