org.eclipse.viatra.query.runtime.base.itc.igraph

## Interface ITcObserver<V>

- All Known Implementing Classes:
    CountingListener, TransitiveClosureNode

      public interface ITcObserver<V>

  Interface ITcObserver is used to observe the changes in a transitive closure relation; tuple insertion/deletion.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `tupleDeleted(V source, V target)` Used to notify when a tuple is deleted from the transitive closure relation.
    `void` | `tupleInserted(V source, V target)` Used to notify when a tuple is inserted into the transitive closure relation.

- - ### Method Detail

    - #### tupleInserted

          void tupleInserted(V source,
                             V target)

      Used to notify when a tuple is inserted into the transitive closure relation.
      Parameters:
        `source` - the source of the tuple
        `target` - the target of the tuple

    - #### tupleDeleted

          void tupleDeleted(V source,
                            V target)

      Used to notify when a tuple is deleted from the transitive closure relation.
      Parameters:
        `source` - the source of the tuple
        `target` - the target of the tuple