What is meant by diameter of a network?

亡梦爱人 提交于 2019-12-02 16:46:17
polygenelubricants

The Wikipedia Example

Looks like the diameter is 3 to me by definition.

The longest shortest paths have length of 3 edges, e.g. between 6-1 and 6-2.


The Mesh Example

Here's your second definition, with some typographical correction so that it makes sense:

Diameter D of a network is defined as the longest path of the shortest paths between any two nodes. For example, the diameter of a 4x4 mesh D = 6

Let's take a look at the 4x4 mesh example:

A---B---C---D |   |   |   | E---F---G---H |   |   |   | I---J---K---L |   |   |   | M---N---O---P 

The longest shortest path has length of 6 edges, i.e. between A-P and M-D.

References

  • Mathworld - Wolfram/Graph Diameter

    The length of the "longest shortest path" between any two graph vertices of a graph.

  • Graph and Digraph Glossary - cudenver.edu

    Diameter: The diameter of a graph is the length of the longest chain you are forced to use to get from one vertex to another in that graph. You can find the diameter of a graph by finding the distance between every pair of vertices and taking the maximum of those distances.

See also

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!