Class DefaultProductionNode
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.network.StandardNode
tools.refinery.interpreter.rete.single.AbstractUniquenessEnforcerNode
tools.refinery.interpreter.rete.single.UniquenessEnforcerNode
tools.refinery.interpreter.rete.single.DefaultProductionNode
- All Implemented Interfaces:
Iterable<Tuple>,IGroupable,NetworkStructureChangeSensitiveNode,Node,PosetAwareReceiver,ProductionNode,Receiver,RederivableNode,Supplier,Tunnel
Default implementation of the Production node, based on UniquenessEnforcerNode
-
Field Summary
FieldsFields inherited from class tools.refinery.interpreter.rete.single.UniquenessEnforcerNode
coreMask, currentGroup, deleteRederiveEvaluation, memory, posetComparator, posetMask, rederivableMemoryFields inherited from class tools.refinery.interpreter.rete.single.AbstractUniquenessEnforcerNode
identityMask, mailbox, memoryIdentityIndexer, memoryNullIndexer, nullMask, parents, specializedListeners, tupleWidthFields 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
ConstructorsConstructorDescriptionDefaultProductionNode(ReteContainer reteContainer, Map<String, Integer> posMapping, boolean deleteRederiveEvaluation) DefaultProductionNode(ReteContainer reteContainer, Map<String, Integer> posMapping, boolean deleteRederiveEvaluation, TupleMask coreMask, TupleMask posetMask, IPosetComparator posetComparator) -
Method Summary
Methods inherited from class tools.refinery.interpreter.rete.single.UniquenessEnforcerNode
getCoreMask, getCurrentGroup, getIdentityIndexer, getNullIndexer, getPosetComparator, getPosetMask, getTuples, instantiateMailbox, isInDRedMode, pullInto, pullIntoWithTimeline, rederiveOne, setCurrentGroup, update, updateDefault, updateWithDeleteAndRederive, updateWithPosetInfoMethods inherited from class tools.refinery.interpreter.rete.single.AbstractUniquenessEnforcerNode
appendParent, assignTraceInfo, constructIndex, getMailbox, getParents, propagate, removeParentMethods inherited from class tools.refinery.interpreter.rete.network.StandardNode
appendChild, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChildMethods inherited from class tools.refinery.interpreter.rete.network.BaseNode
getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringCoreMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface tools.refinery.interpreter.rete.network.Node
assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface tools.refinery.interpreter.rete.network.Receiver
appendParent, batchUpdate, getMailbox, getParents, removeParent, updateMethods inherited from interface tools.refinery.interpreter.rete.network.Supplier
appendChild, constructIndex, getPulledContents, getPulledContents, getReceivers, pullInto, pullIntoWithTimeline, removeChild
-
Field Details
-
posMapping
-
-
Constructor Details
-
DefaultProductionNode
public DefaultProductionNode(ReteContainer reteContainer, Map<String, Integer> posMapping, boolean deleteRederiveEvaluation) - Since:
- 1.6
-
DefaultProductionNode
public DefaultProductionNode(ReteContainer reteContainer, Map<String, Integer> posMapping, boolean deleteRederiveEvaluation, TupleMask coreMask, TupleMask posetMask, IPosetComparator posetComparator) - Since:
- 1.6
-
-
Method Details
-
getPosMapping
- Specified by:
getPosMappingin interfaceProductionNode- Returns:
- the position mapping of this particular pattern that maps members of the tuple type to their positions
-
iterator
-
acceptPropagatedTraceInfo
Description copied from interface:Nodeaccepts traceability info propagated to this node- Specified by:
acceptPropagatedTraceInfoin interfaceNode- Overrides:
acceptPropagatedTraceInfoin classBaseNode
-
toString
-