the pre-computed distance matrix of the graph. Will be
calculated automatically if NULL.
Value
weighted path count based on the vertex distance degree.
References
A. T. Balaban. Numerical Modelling of Chemical Structures: Local Graph Invariants and Topological
Indices. In Graph Theory and Topology in Chemistry, R. King and D. Rouvray, Eds., pp. 159-176, 1987