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, rederivableMemory
Fields inherited from class tools.refinery.interpreter.rete.single.AbstractUniquenessEnforcerNode
identityMask, mailbox, memoryIdentityIndexer, memoryNullIndexer, nullMask, parents, specializedListeners, tupleWidth
Fields inherited from class tools.refinery.interpreter.rete.network.StandardNode
childMailboxes, children
Fields 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, updateWithPosetInfo
Methods inherited from class tools.refinery.interpreter.rete.single.AbstractUniquenessEnforcerNode
appendParent, assignTraceInfo, constructIndex, getMailbox, getParents, propagate, removeParent
Methods inherited from class tools.refinery.interpreter.rete.network.StandardNode
appendChild, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChild
Methods inherited from class tools.refinery.interpreter.rete.network.BaseNode
getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringCore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface tools.refinery.interpreter.rete.network.Node
assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTag
Methods inherited from interface tools.refinery.interpreter.rete.network.Receiver
appendParent, batchUpdate, getMailbox, getParents, removeParent, update
Methods 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:
getPosMapping
in 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:Node
accepts traceability info propagated to this node- Specified by:
acceptPropagatedTraceInfo
in interfaceNode
- Overrides:
acceptPropagatedTraceInfo
in classBaseNode
-
toString
-