Class EqualityFilterNode

All Implemented Interfaces:
NetworkStructureChangeSensitiveNode, Node, Receiver, Supplier, Tunnel

public class EqualityFilterNode extends FilterNode
  • Constructor Details

    • EqualityFilterNode

      public EqualityFilterNode(ReteContainer reteContainer, int[] indices)
      Parameters:
      reteContainer -
      indices - indices of the Tuple that should hold equal values
  • Method Details

    • 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.