Combinatorica`
Combinatorica`

Diameter

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »

Diameter[g]

gives the diameter of graph g: the maximum length, among all pairs of vertices in g, of a shortest path between each pair.

Details

Examples

Basic Examples  (2)

Diameter has been superseded by GraphDiameter:

Wolfram Research (2012), Diameter, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/Diameter.html.

Text

Wolfram Research (2012), Diameter, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/Diameter.html.

BibTeX

@misc{reference.wolfram_2021_diameter, author="Wolfram Research", title="{Diameter}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/Diameter.html}", note=[Accessed: 30-November-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_diameter, organization={Wolfram Research}, title={Diameter}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/Diameter.html}, note=[Accessed: 30-November-2021 ]}

CMS

Wolfram Language. 2012. "Diameter." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/Diameter.html.

APA

Wolfram Language. (2012). Diameter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/Diameter.html