Class ExternalInputStatelessFilterNode

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

public class ExternalInputStatelessFilterNode extends FilterNode implements Disconnectable
A filter node representing a (stateless, typically non-enumerable) extensional input relation.

Contains those tuples of its parents, that (when transformed by a mask, if given) are present in the extensional relation identified by the input key.

  • Constructor Details

    • ExternalInputStatelessFilterNode

      public ExternalInputStatelessFilterNode(ReteContainer reteContainer, TupleMask mask)
  • 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.
    • connectThroughContext

      public void connectThroughContext(ReteEngine engine, IInputKey inputKey)
    • disconnect

      public void disconnect()
      Description copied from interface: Disconnectable
      Disconnects this rete engine component from the underlying model. Disconnecting enables the garbage collection mechanisms to dispose of the rete network.
      Specified by:
      disconnect in interface Disconnectable