Class RelationEvaluatorNode.BatchingReceiver
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.misc.SimpleReceiver
tools.refinery.interpreter.rete.eval.RelationEvaluatorNode.BatchingReceiver
- Enclosing class:
RelationEvaluatorNode
-
Field Summary
Fields inherited from class tools.refinery.interpreter.rete.misc.SimpleReceiver
mailbox, parentFields inherited from class tools.refinery.interpreter.rete.network.BaseNode
nodeId, reteContainer, tag, traceInfos -
Method Summary
Modifier and TypeMethodDescriptionvoidbatchUpdate(Collection<Map.Entry<Tuple, Integer>> updates, Timestamp timestamp) Updates the receiver in batch style with a collection of updates.voidUpdates the receiver with a newly found or lost partial matching.Methods inherited from class tools.refinery.interpreter.rete.misc.SimpleReceiver
appendParent, assignTraceInfo, disconnectFromNetwork, getMailbox, getParents, instantiateMailbox, removeParentMethods inherited from class tools.refinery.interpreter.rete.network.BaseNode
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCoreMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.interpreter.rete.network.Node
acceptPropagatedTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTag
-
Method Details
-
update
Description copied from interface:ReceiverUpdates the receiver with a newly found or lost partial matching. -
batchUpdate
Description copied from interface:ReceiverUpdates the receiver in batch style with a collection of updates. The input collection consists of pairs in the form (t, c) where t is an update tuple and c is the count. The count can also be negative, and it specifies how many times the tuple t gets deleted or inserted. The default implementation of this method simply callsReceiver.update(Direction, Tuple, Timestamp)individually for all updates.
-