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 tools.refinery.interpreter.rete.network.StandardNode
childMailboxes, childrenFields inherited from class tools.refinery.interpreter.rete.network.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 tools.refinery.interpreter.rete.network.StandardNode
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChildMethods 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, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface tools.refinery.interpreter.rete.network.Receiver
batchUpdate, updateMethods inherited from interface tools.refinery.interpreter.rete.network.Supplier
appendChild, constructIndex, getPulledContents, getPulledContents, getReceivers, pullInto, pullIntoWithTimeline, removeChild
-
Field Details
-
parent
-
mailbox
- Since:
- 1.6
-
-
Constructor Details
-
SingleInputNode
-
-
Method Details
-
instantiateMailbox
Instantiates theMailboxof this receiver. Subclasses may override this method to provide their own mailbox implementation.- Returns:
- the mailbox
- Since:
- 2.0
-
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
To be called by derived classes and ReteContainer. -
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
-