DOCUMENTATION CENTER SEARCH
Combinatorica Package
>
Combinatorica
Package Symbol
Combinatorica
Tutorials »
|
BreadthFirstTraversal
ShortestPath
See Also »
|
Graph Algorithms
More About »
Distances
Distances[
g
,
v
]
returns the distances in nondecreasing order from vertex
to all vertices in
, treating
as an unweighted graph.
MORE INFORMATION
To use
Distances
, you first need to load the
Combinatorica
Package
using
Needs
["Combinatorica`"]
.
SEE ALSO
BreadthFirstTraversal
ShortestPath
TUTORIALS
Combinatorica
MORE ABOUT
Graph Algorithms
© 2008 Wolfram Research, Inc.