Description Usage Arguments Value Author(s) References Examples
This method calculates the diameter of a given graph.
1 |
g |
a graph as a graphNEL object. |
dist |
the distance matrix of the graph. If the parameter is empty the distance matrix will be calculated within the function. |
This method returns the diameter of a given graph.
Laurin Mueller
F. Harary, Graph Theory, Addison-Wesley series in mathematics, Perseus Books, 1994.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.