Click or drag to resize

IGraphProcessingEnvironment Methods

The IGraphProcessingEnvironment type exposes the following members.

Methods
  NameDescription
Public methodAddEdge(IEdge, String)
Adds an existing IEdge object to the current graph of this processing environment and assigns it to the given variable. The edge must not be part of any graph, yet! Source and target of the edge must already be part of the graph.
Public methodAddEdge(IEdge, String, String)
Adds an existing edge to the graph, names it, and assigns it to the given variable.
Public methodAddEdge(EdgeType, INode, INode, String)
Adds a new edge to the current graph of this processing environment and assigns it to the given variable.
Public methodAddEdge(EdgeType, INode, INode, String, String)
Adds a new named edge to the graph and assigns it to the given variable.
Public methodAddNode(INode, String)
Adds an existing INode object to the current graph of this processing environment and assigns it to the given variable. The node must not be part of any graph, yet! The node may not be connected to any other elements!
Public methodAddNode(NodeType, String)
Adds a new node to the current graph of this processing environment and assigns it to the given variable.
Public methodAddNode(INode, String, String)
Adds an existing node to the graph, names it, and assigns it to the given variable.
Public methodAddNode(NodeType, String, String)
Adds a new named node to the graph and assigns it to the given variable.
Public methodApplyGraphRewriteSequence(String)
Apply a graph rewrite sequence (to the currently associated graph).
Public methodApplyGraphRewriteSequence(Sequence)
Apply a graph rewrite sequence (to the currently associated graph).
Public methodApplyRewrite
Apply a rewrite rule.
Public methodBeginExecution
Fires an OnBeginExecution event.
(Inherited from IActionExecutionEnvironment.)
Public methodCustom
Does action execution environment dependent stuff.
(Inherited from IActionExecutionEnvironment.)
Public methodDebugEmitting
Fires an OnDebugEmit event.
(Inherited from ISubactionAndOutputAdditionEnvironment.)
Public methodDebugEntering
Fires an OnDebugEnter event.
(Inherited from ISubactionAndOutputAdditionEnvironment.)
Public methodDebugExiting
Fires an OnDebugExit event.
(Inherited from ISubactionAndOutputAdditionEnvironment.)
Public methodDebugHalting
Fires an OnDebugHalt event.
(Inherited from ISubactionAndOutputAdditionEnvironment.)
Public methodDebugHighlighting
Fires an OnDebugHighlight event.
(Inherited from ISubactionAndOutputAdditionEnvironment.)
Public methodEndExecution
Fires an OnEndExecution event.
(Inherited from IActionExecutionEnvironment.)
Public methodEndOfIteration
Fires an OnEndOfIteration event. This informs the debugger about the end of a loop iteration, so it can display the state at the end of the iteration.
Public methodEnteringSequence
Fires an OnEnteringSequence event (sequence includes sequence computations and sequence expressions).
Public methodEvaluateGraphRewriteSequenceExpression(String)
Evaluate a graph rewrite sequence expression (on the currently associated graph).
Public methodEvaluateGraphRewriteSequenceExpression(SequenceExpression)
Evaluate a graph rewrite sequence expression (on the currently associated graph).
Public methodExitingSequence
Fires an OnExitingSequence event (sequence includes sequence computations and sequence expressions).
Public methodFilter
Filters the matches of a rule (all) call with a lambda expression filter (call).
Public methodFinished(IMatches, Boolean)
Fires an OnFinished event.
(Inherited from IActionExecutionEnvironment.)
Public methodFinished(IMatches, Boolean)
Fires an OnFinished event.
(Inherited from IActionExecutionEnvironment.)
Public methodFinishedSelectedMatch
Fires an OnFinishedSelectedMatch event.
(Inherited from IActionExecutionEnvironment.)
Public methodGetEdgeVarValue
Retrieves the IEdge for a variable name or null, if the variable isn't set yet or anymore. A InvalidCastException is thrown, if the variable is set and does not point to an IEdge object.
Public methodGetElementVariables
Returns a linked list of variables mapping to the given graph element or null, if no variable points to this element
Public methodGetNewestActionVersion
Retrieves the newest version of an IAction object currently available for this graph. This may be the given object.
(Inherited from IActionExecutionEnvironment.)
Public methodGetNodeVarValue
Retrieves the INode for a variable name or null, if the variable isn't set yet or anymore. A InvalidCastException is thrown, if the variable is set and does not point to an INode object.
Public methodGetVariableValue
Retrieves the object for a variable name or null, if the variable isn't set yet or anymore
Public methodJoinSequences
Fires an OnJoinSequences event.
Public methodMatch
Matches a rewrite rule.
(Inherited from IActionExecutionEnvironment.)
Public methodMatchedAfterFiltering(IMatches, Boolean)
Fires an OnMatchedAfter event.
(Inherited from IActionExecutionEnvironment.)
Public methodMatchedAfterFiltering(IMatches, Boolean)
Fires an OnMatchedAfter event.
(Inherited from IActionExecutionEnvironment.)
Public methodMatchedBeforeFiltering(IMatches)
Fires an OnMatchedBefore event.
(Inherited from IActionExecutionEnvironment.)
Public methodMatchedBeforeFiltering(IMatches)
Fires an OnMatchedBefore event.
(Inherited from IActionExecutionEnvironment.)
Public methodMatchForQuery(Boolean, ActionCall)
Matches the rewrite rules, without firing the Matched event, but with firing the PreMatch event and Cloning of the matches (so they can stored, or used in an expression combining multiple queries).
(Inherited from IActionExecutionEnvironment.)
Public methodMatchForQuery(IAction, Object, Int32, Boolean)
Matches a rewrite rule, without firing the Matched event, but with firing the PreMatch event and Cloning of the matches (so they can stored, or used in an expression combining multiple queries like [?r] + [?r], or the action can be called multiple times in a multi rule all call query (on different parameters)).
(Inherited from IActionExecutionEnvironment.)
Public methodMatchSelected
Fires an OnMatchSelected event.
(Inherited from IActionExecutionEnvironment.)
Public methodMatchWithoutEvent(Boolean, ActionCall)
Matches the rewrite rules, without firing the Matched event, but fires the MatchedBeforeFiltering event (for internal or non-debugger use).
(Inherited from IActionExecutionEnvironment.)
Public methodMatchWithoutEvent(IAction, Object, Int32, Boolean)
Matches a rewrite rule, without firing the Matched event (but fires the MatchedBeforeFiltering event - for internal or non-debugger use).
(Inherited from IActionExecutionEnvironment.)
Public methodParallelApplyGraphRewriteSequences(SequenceParallelArrayExecute)
In parallel, apply the graph rewrite sequence (to the given graphs, with the given input values).
Public methodParallelApplyGraphRewriteSequences(SequenceParallelExecute)
In parallel, apply the graph rewrite sequence(s) (to the given graphs, with the given input values).
Public methodParseSequence
Parses the given sequence string and generates a Sequence object. Any actions in the string must refer to actions from the actions contained in this object.
Public methodParseSequenceExpression
Parses the given sequence expression string and generates a SequenceExpression object. Any actions in the string must refer to actions from the actions contained in this object.
Public methodReplace
Executes the modifications of the according rule to the given match/matches. Fires OnRewritingNextMatch events before each rewrite except for the first one.
(Inherited from IActionExecutionEnvironment.)
Public methodReturnFromSubgraph
Returns from the last switch to subgraph. (One level back on the current graph stack.)
(Inherited from ISubactionAndOutputAdditionEnvironment.)
Public methodRewritingSelectedMatch
Fires an OnRewritingSelectedMatch event (comparable to the old OnFinishing and OnRewritingNextMatch, now one event, fired per selected match).
(Inherited from IActionExecutionEnvironment.)
Public methodSetNewestActionVersion
Sets the newest action version for a static action.
(Inherited from IActionExecutionEnvironment.)
Public methodSetVariableValue
Sets the value of the given variable to the given value. If the variable name is null, this function does nothing. If val is null, the variable is unset.
Public methodSpawnSequences
Fires an OnSpawnSequences event.
Public methodSwitchToSubgraph
Switches the graph to the given (sub)graph. (One level added to the current graph stack.)
(Inherited from ISubactionAndOutputAdditionEnvironment.)
Public methodValidateWithSequence(String)
Tests whether the given sequence succeeds on a clone of the associated graph.
Public methodValidateWithSequence(Sequence)
Tests whether the given sequence succeeds on a clone of the associated graph.
Top
See Also