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 UniquenessEnforcerNode
coreMask, currentGroup, deleteRederiveEvaluation, memory, posetComparator, posetMask, rederivableMemoryFields inherited from class AbstractUniquenessEnforcerNode
identityMask, mailbox, memoryIdentityIndexer, memoryNullIndexer, nullMask, parents, specializedListeners, tupleWidthFields inherited from class StandardNode
childMailboxes, childrenFields inherited from class 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 UniquenessEnforcerNode
getCoreMask, getCurrentGroup, getIdentityIndexer, getNullIndexer, getPosetComparator, getPosetMask, getTuples, instantiateMailbox, isInDRedMode, pullInto, pullIntoWithTimeline, rederiveOne, setCurrentGroup, update, updateDefault, updateWithDeleteAndRederive, updateWithPosetInfoMethods inherited from class AbstractUniquenessEnforcerNode
appendParent, assignTraceInfo, constructIndex, getMailbox, getParents, propagate, removeParentMethods inherited from class StandardNode
appendChild, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChildMethods inherited from class BaseNode
getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringCoreMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Node
assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface Receiver
appendParent, batchUpdate, getMailbox, getParents, removeParent, updateMethods inherited from interface 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
-