Interface RETESinkNode

  • All Superinterfaces:
    RETENode
    All Known Implementing Classes:
    RETEQueue, RETETerminal

    public interface RETESinkNode
    extends RETENode
    Interface for all inner nodes in the RETE network. Tokens are represented by binding environments. This representation only works if we don't overlap the networks for different rules.
    • Method Detail

      • fire

        void fire​(BindingVector env,
                  boolean isAdd)
        Propagate a token to this node.
        Parameters:
        env - a set of variable bindings for the rule being processed.
        isAdd - distinguishes between add and remove operations.