public class CountingListener<V> extends java.lang.Object implements ITcObserver<V>
Constructor and Description |
---|
CountingListener(IncSCCAlg<V> alg) |
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.
|
public void tupleInserted(V source, V target)
ITcObserver
tupleInserted
in interface ITcObserver<V>
source
- the source of the tupletarget
- the target of the tuplepublic void tupleDeleted(V source, V target)
ITcObserver
tupleDeleted
in interface ITcObserver<V>
source
- the source of the tupletarget
- the target of the tuple