Class SingleInputNode
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.network.StandardNode
tools.refinery.interpreter.rete.single.SingleInputNode
- All Implemented Interfaces:
NetworkStructureChangeSensitiveNode, Node, Receiver, Supplier, Tunnel
- Direct Known Subclasses:
AbstractColumnAggregatorNode, AbstractEvaluatorNode, DiscriminatorBucketNode, DiscriminatorDispatcherNode, FilterNode, RemoteReceiver, RemoteSupplier, RepresentativeElectionNode, TransformerNode, TransitiveClosureNode, TransparentNode
-
Field Summary
FieldsFields inherited from class StandardNode
childMailboxes, childrenFields inherited from class BaseNode
nodeId, reteContainer, tag, traceInfos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendParent(Supplier supplier) appends a parent that will continuously send insert and revoke updates to this suppliervoidassignTraceInfo(TraceInfo traceInfo) assigns new traceability info to this nodeReturns theMailboxof this receiver.access active parentprotected MailboxInstantiates theMailboxof this receiver.voidpropagatePullInto(Collection<Tuple> collector, boolean flush) To be called by derived classes and ReteContainer.voidpropagatePullIntoWithTimestamp(Map<Tuple, Timeline<Timestamp>> collector, boolean flush) To be called by derived classes and ReteContainer.voidremoveParent(Supplier supplier) removes a parentMethods inherited from class StandardNode
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChildMethods inherited from class BaseNode
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCoreMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Node
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface Receiver
batchUpdate, updateMethods inherited from interface Supplier
appendChild, constructIndex, getPulledContents, getPulledContents, getReceivers, pullInto, pullIntoWithTimeline, removeChild
-
Field Details
-
parent
-
mailbox
- Since:
- 1.6
-
-
Constructor Details
-
SingleInputNode
-
-
Method Details
-
instantiateMailbox
-
getCommunicationTracker
- Specified by:
getCommunicationTrackerin interfaceNode
-
getMailbox
Description copied from interface:ReceiverReturns theMailboxof this receiver.- Specified by:
getMailboxin interfaceReceiver- Returns:
- the mailbox
-
appendParent
Description copied from interface:Receiverappends a parent that will continuously send insert and revoke updates to this supplier- Specified by:
appendParentin interfaceReceiver
-
removeParent
Description copied from interface:Receiverremoves a parent- Specified by:
removeParentin interfaceReceiver
-
propagatePullInto
To be called by derived classes and ReteContainer. -
propagatePullIntoWithTimestamp
-
getParents
Description copied from interface:Receiveraccess active parent- Specified by:
getParentsin interfaceReceiver
-
assignTraceInfo
Description copied from interface:Nodeassigns new traceability info to this node- Specified by:
assignTraceInfoin interfaceNode- Overrides:
assignTraceInfoin classBaseNode
-