Breadth-First Traversal (or Search)
Static member | Description |
Full Usage:
BFS.Compute(starting, graph)
Parameters:
'NodeKey
-
Nodekey for starting the BFS traversal.
graph : DiGraph<'NodeKey, 'NodeData, 'EdgeData>
-
The graph to traverse.
Returns: 'a
Sequence of node key and node data
|
|
Full Usage:
BFS.Compute(starting, graph)
Parameters:
'NodeKey
-
Nodekey for starting the BFS traversal.
graph : AdjGraph<'NodeKey, 'NodeData, 'EdgeData>
-
The graph to traverse.
Returns: seq<'NodeKey * 'NodeData>
Sequence of node key and node data
|
|
Full Usage:
BFS.Compute(starting, graph)
Parameters:
'NodeKey
-
Nodekey for starting the BFS traversal.
graph : FGraph<'NodeKey, 'NodeData, 'EdgeData>
-
The graph to traverse.
Returns: seq<'NodeKey * 'NodeData>
Sequence of node key and node data
|
|
Full Usage:
BFS.ofAdjGraph starting graph
Parameters:
'NodeKey
-
Nodekey for starting the BFS traversal.
graph : AdjGraph<'NodeKey, 'NodeData, 'EdgeData>
-
The graph to traverse.
Returns: seq<'NodeKey * 'NodeData>
Sequence of node key and node data
|
|
Full Usage:
BFS.ofFGraph starting graph
Parameters:
'NodeKey
-
Nodekey for starting the BFS traversal.
graph : FGraph<'NodeKey, 'NodeData, 'EdgeData>
-
The graph to traverse.
Returns: seq<'NodeKey * 'NodeData>
Sequence of node key and node data
|
|