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, parent
Fields 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).int
A view consisting of exactly those signatures whose tuple group is not emptyiterator()
void
Methods inherited from class tools.refinery.interpreter.rete.index.StandardIndexer
assignTraceInfo, attachListener, detachListener, getContainer, getListeners, getMask, getParent, networkStructureChanged, propagate, toStringCore
Methods inherited from class tools.refinery.interpreter.rete.network.BaseNode
acceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface tools.refinery.interpreter.rete.index.Indexer
attachListener, detachListener, getListeners, getMask, getParent, getTimeline
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods 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:
getBucketCount
in interfaceIterableIndexer
- Returns:
- the number of signatures whose tuple group is not empty
-
getSignatures
Description copied from interface:IterableIndexer
A view consisting of exactly those signatures whose tuple group is not empty- Specified by:
getSignatures
in interfaceIterableIndexer
-
iterator
-
propagate
- Since:
- 2.4
-
getActiveNode
Description copied from interface:Indexer
This 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:
getActiveNode
in interfaceIndexer
- Returns:
- the active node that operates this indexer
-