Class CountingListener<V>
java.lang.Object
tools.refinery.interpreter.rete.itc.alg.incscc.CountingListener<V>
- All Implemented Interfaces:
ITcObserver<V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtupleDeleted(V source, V target) Used to notify when a tuple is deleted from the transitive closure relation.voidtupleInserted(V source, V target) Used to notify when a tuple is inserted into the transitive closure relation.
-
Constructor Details
-
CountingListener
-
-
Method Details
-
tupleInserted
Description copied from interface:ITcObserverUsed to notify when a tuple is inserted into the transitive closure relation.- Specified by:
tupleInsertedin interfaceITcObserver<V>- Parameters:
source- the source of the tupletarget- the target of the tuple
-
tupleDeleted
Description copied from interface:ITcObserverUsed to notify when a tuple is deleted from the transitive closure relation.- Specified by:
tupleDeletedin interfaceITcObserver<V>- Parameters:
source- the source of the tupletarget- the target of the tuple
-