networkDiameterByHopDistance

Computes the network diameter of the segment containing node.


Returns the hop-distance diameter of the network if it is not segmented, and NaN otherwise.