ConcreteCallGraph.GetDirectDependencies(ConcreteCallGraphNode) Method

Definition

Returns the children nodes of a given node. Each key in the returned lookup is a child node of the given node. Each value in the lookup is an edge connecting the given node to the child node represented by the associated key. Returns an empty ILookup if the node was found with no dependencies or was not found in the graph.

public System.Linq.ILookup<Microsoft.Quantum.QsCompiler.DependencyAnalysis.ConcreteCallGraphNode,Microsoft.Quantum.QsCompiler.DependencyAnalysis.ConcreteCallGraphEdge> GetDirectDependencies (Microsoft.Quantum.QsCompiler.DependencyAnalysis.ConcreteCallGraphNode node);
member this.GetDirectDependencies : Microsoft.Quantum.QsCompiler.DependencyAnalysis.ConcreteCallGraphNode -> System.Linq.ILookup<Microsoft.Quantum.QsCompiler.DependencyAnalysis.ConcreteCallGraphNode, Microsoft.Quantum.QsCompiler.DependencyAnalysis.ConcreteCallGraphEdge>
Public Function GetDirectDependencies (node As ConcreteCallGraphNode) As ILookup(Of ConcreteCallGraphNode, ConcreteCallGraphEdge)

Parameters

Returns

ILookup<ConcreteCallGraphNode,ConcreteCallGraphEdge>

Applies to