Class TransitiveClosureNodeIndexer
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.index.StandardIndexer
tools.refinery.interpreter.rete.index.TransitiveClosureNodeIndexer
- All Implemented Interfaces:
Iterable<Tuple>,Indexer,IterableIndexer,NetworkStructureChangeSensitiveNode,Node
-
Field Summary
Fields inherited from class tools.refinery.interpreter.rete.index.StandardIndexer
mask, parentFields inherited from class tools.refinery.interpreter.rete.network.BaseNode
nodeId, reteContainer, tag, traceInfos -
Constructor Summary
ConstructorsConstructorDescriptionTransitiveClosureNodeIndexer(TupleMask mask, IncSCCAlg<Object> tcAlg, TransitiveClosureNode tcNode) -
Method Summary
Modifier and TypeMethodDescriptionThis indexer will be updated whenever a Rete update is sent to the active node (or an equivalent time slot allotted to it).intA view consisting of exactly those signatures whose tuple group is not emptyiterator()voidMethods inherited from class tools.refinery.interpreter.rete.index.StandardIndexer
assignTraceInfo, attachListener, detachListener, getContainer, getListeners, getMask, getParent, networkStructureChanged, propagate, toStringCoreMethods inherited from class tools.refinery.interpreter.rete.network.BaseNode
acceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.interpreter.rete.index.Indexer
attachListener, detachListener, getListeners, getMask, getParent, getTimelineMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface tools.refinery.interpreter.rete.network.Node
acceptPropagatedTraceInfo, assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTag
-
Constructor Details
-
TransitiveClosureNodeIndexer
public TransitiveClosureNodeIndexer(TupleMask mask, IncSCCAlg<Object> tcAlg, TransitiveClosureNode tcNode)
-
-
Method Details
-
get
-
getBucketCount
public int getBucketCount()- Specified by:
getBucketCountin interfaceIterableIndexer- Returns:
- the number of signatures whose tuple group is not empty
-
getSignatures
Description copied from interface:IterableIndexerA view consisting of exactly those signatures whose tuple group is not empty- Specified by:
getSignaturesin interfaceIterableIndexer
-
iterator
-
propagate
- Since:
- 2.4
-
getActiveNode
Description copied from interface:IndexerThis indexer will be updated whenever a Rete update is sent to the active node (or an equivalent time slot allotted to it). The active node is typically the indexer itself, but it can be a different node such as its parent.- Specified by:
getActiveNodein interfaceIndexer- Returns:
- the active node that operates this indexer
-