Skip to content

GraphRadius ​

The smallest eccentricity among all vertices of a Graph.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageGraphRadius✓
GraphRadius(g)min over v of VertexEccentricity(g, v); PositiveInfinity if g is disconnected.
Typed signatures
TypePackageApplies
(value) -> real | signed_infinitycombinatoricsalways

Domain: Collections

Details
  • radius <= diameter <= 2 * radius always holds for a connected graph.

Examples

Basic #
live ↗
InGraphRadius(Graph([1,2,3,4,5],[UndirectedEdge(1,2),UndirectedEdge(2,3),UndirectedEdge(3,4),UndirectedEdge(4,5)]))\mathrm{GraphRadius}(\mathrm{Graph}(\bigl\lbrack1, 2, 3, 4, 5\bigr\rbrack, \bigl\lbrack\mathrm{UndirectedEdge}(1, 2), \mathrm{UndirectedEdge}(2, 3), \mathrm{UndirectedEdge}(3, 4), \mathrm{UndirectedEdge}(4, 5)\bigr\rbrack))Out22
About
Examples1
Checked againstWolfram Language 1 agree
CrosswalkWolfram Language

See also: GraphDiameter, GraphCenter, VertexEccentricity