Graph Radius Calculator

min eccentricity

CalculatorsFreeNo Signup
4.8(453 reviews)
All Tools

Loading tool...

About Graph Radius Calculator

A graph radius calculator finding rad(G) = min{ecc(v)}: the minimum over vertex eccentricities. The center is {v : ecc(v)=rad}. For trees: center is 1 or 2 adjacent vertices. rad≤diam≤2·rad. Client-side.

Graph Radius Calculator Features

  • rad(G)
  • Center vertices
  • Common graphs
  • rad ≤ diam ≤ 2rad
  • Tree center
Graph radius rad(G) = min ecc(v): minimum eccentricity. The center C(G) = {v : ecc(v)=rad(G)}. For trees, the center is always 1 or 2 adjacent vertices (Jordan 1869). rad(K_n)=1, rad(P_n)=⌈(n-1)/2⌉.

How to Use

Select graph:

  • Radius: Min eccentricity
  • Center: Central vertices
  • Relation: rad ≤ diam ≤ 2rad

Jordan's Theorem

In every tree, the center consists of 1 or 2 adjacent vertices. Found by repeatedly removing leaves: the last remaining vertex/edge is the center. This is a beautiful O(n) algorithm.

Radius-Diameter

Always rad(G)≤diam(G)≤2·rad(G). The lower bound is trivial. The upper bound: if ecc(c)=rad, then d(u,v)≤d(u,c)+d(c,v)≤2·rad for the center c. Both bounds are tight.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2Compute radius.
  3. 3Find center.
  4. 4Compare to diameter.
  5. 5Check bounds.

Graph Radius Calculator — Frequently Asked Questions

What's the center of a graph?+

C(G) = {v ∈ V : ecc(v) = rad(G)}. The central vertices minimize the maximum distance to any other vertex. In facility location: the center is the optimal location to minimize worst-case distance.

Is the center always one vertex?+

No. For K_n: every vertex is central (rad=1, all ecc=1). For C_n (even): every vertex is central. For trees: always 1 or 2 vertices. For general graphs: any subset can be the center.

How does this relate to facility location?+

The center problem: place a facility to minimize max distance to any client. This is exactly finding C(G). The related median problem minimizes total distance (sum instead of max). Both are fundamental in operations research.

Share this tool: