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 and Options

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.

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

BibTeX

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

BibLaTeX

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