This method calculates the Wiener index.
a graph as a graphNEL object.
the distance matrix of the graph. If the parameter is empty the distance matrix will be calculated within the function.
This method returns the Wiener index.
H. Wiener, Structural Determination of Paraffin Boiling Points, Journal of the American Chemical Society, vol. 69, no. 1, pp. 17-20, Jan. 1947.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.