Class NodeProvisioner
java.lang.Object
tools.refinery.interpreter.rete.network.NodeProvisioner
Stores the internal parts of a rete network. Nodes are stored according to type and parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionNodeProvisioner
(ReteContainer reteContainer) PRE: NodeFactory, ConnectionFactory must exist -
Method Summary
Modifier and TypeMethodDescriptionaccessProjectionIndexer
(RecipeTraceInfo productionTrace, TupleMask mask) accessProjectionIndexerOnetime
(RecipeTraceInfo supplierTrace, TupleMask mask) asSupplier
(Address<? extends Supplier> address) The powerful method for accessing any (supplier) Address as a local supplier.getOrCreateNodeByRecipe
(RecipeTraceInfo recipeTrace) peekProjectionIndexer
(RecipeTraceInfo supplierTrace, TupleMask mask)
-
Constructor Details
-
NodeProvisioner
PRE: NodeFactory, ConnectionFactory must exist- Parameters:
reteContainer
- the ReteNet whose interior is to be mapped.
-
-
Method Details
-
getOrCreateNodeByRecipe
-
asSupplier
The powerful method for accessing any (supplier) Address as a local supplier. -
accessProjectionIndexer
-
accessProjectionIndexerOnetime
public ProjectionIndexer accessProjectionIndexerOnetime(RecipeTraceInfo supplierTrace, TupleMask mask) -
peekProjectionIndexer
-