Class CountingListener<V>
java.lang.Object
tools.refinery.interpreter.rete.itc.alg.incscc.CountingListener<V>
- All Implemented Interfaces:
ITcObserver<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
CountingListener
-
-
Method Details
-
tupleInserted
Description copied from interface:ITcObserver
Used to notify when a tuple is inserted into the transitive closure relation.- Specified by:
tupleInserted
in interfaceITcObserver<V>
- Parameters:
source
- the source of the tupletarget
- the target of the tuple
-
tupleDeleted
Description copied from interface:ITcObserver
Used to notify when a tuple is deleted from the transitive closure relation.- Specified by:
tupleDeleted
in interfaceITcObserver<V>
- Parameters:
source
- the source of the tupletarget
- the target of the tuple
-