Skip to content

Geodetic Graph

An undirected unweighted graph in which every vertex pair has exactly one shortest path, though longer alternate paths and some cycles may exist.

Version
v2 · 2026-11-14 · History
Domain-specific #
9682
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Graph Theory, Metric Graph Theory → Mathematics

Core Idea

Geodetic graphs generalize the route uniqueness of trees while weakening it to minimum-length routes. Every pair of vertices must have one and only one geodesic, but the graph may contain cycles and longer alternative paths.

Odd cycles and complete graphs show why the class is broader than trees; even cycles fail at opposite vertices. Recognition can run shortest-path searches from each source while detecting whether any vertex receives a second minimum predecessor.

How would you explain it like I'm…

One Shortest Way Web

Think of dots joined by strings. A geodetic graph is one where, between any two dots, there is exactly one shortest way to go. There can be loops and longer ways around, but never two different shortest ways.

Unique Shortest Path Graphs

A graph is a set of dots (vertices) connected by lines (edges). In a tree there's only one path between any two dots at all. A geodetic graph relaxes that: there can be many paths, even loops, but there must be exactly one shortest path between every pair of dots. A triangle works, and so does a loop of five dots, but a square loop fails because opposite corners have two equally short ways to reach each other.

Graphs with Unique Geodesics

A geodetic graph is a graph in which every pair of vertices is joined by exactly one geodesic, meaning one unique shortest path. Trees satisfy this trivially because they have only one path of any length between vertices; geodetic graphs generalize trees by allowing cycles and longer alternative routes as long as the shortest route is unique. Odd cycles and complete graphs are geodetic, so the class is broader than trees. Even cycles are not: two opposite vertices have two shortest paths of equal length, one each way around. You can test a graph by running a shortest-path search from every vertex and checking whether any vertex is reached by two different shortest routes.

 

A geodetic graph is a connected graph in which every pair of vertices has a unique shortest path (geodesic). The definition generalizes trees, which have a unique path of any length between any two vertices. Geodetic graphs weaken that requirement so that uniqueness applies only to minimum-length paths. Cycles and longer alternative routes are therefore allowed. Examples beyond trees include odd cycles C_{2k+1} and complete graphs K_n. Even cycles C_{2k} fail, since antipodal vertices are joined by two distinct geodesics of length k. An algorithmic test runs breadth-first search from every source and flags failure if some vertex gets a second predecessor at the minimum distance. That would mean two distinct shortest paths reach it.

Structural Signature

Sig role-phrases:

  • Undirected unweighted graph — Fixes the carrier and path-length convention. It is carrier. Counterfactual: Weights or directions define different geodesic notions.
  • Vertex pair — Quantifies the property globally over all two vertices. It is query domain. Counterfactual: Testing selected pairs cannot certify the graph.
  • Path length — Orders candidate paths by number of edges. It is optimization rule. Counterfactual: Uniqueness of any path is the stronger tree property.
  • Shortest path — Supplies at least one minimum route for a connected pair. It is geodesic. Counterfactual: A disconnected graph fails the all-pairs form unless conventions change.
  • Uniqueness condition — Forbids two distinct equal-length minima. It is defining invariant. Counterfactual: Multiple longer paths are allowed.
  • Recognition search — Counts or detects predecessor alternatives from each source. It is decision method. Counterfactual: One spanning tree cannot prove all-pairs uniqueness.

What It Is Not

  • It is not limited to trees.
  • It does not require only one path of every length.
  • It is stronger than weak geodeticity.
  • Weighted and directed variants need separate definitions.
  • Closest near-miss. A tree has exactly one path of any length between each pair; a geodetic graph may have cycles and only requires the shortest path to be unique.

Scope of Application

  • Graph theory. Studies metric uniqueness and structure.
  • Network routing. Models unique shortest-route selection.
  • Graph algorithms. Supports polynomial recognition.
  • Extremal combinatorics. Examines diameter, degree, and cycle constraints.

Clarity

State simple/multigraph, undirected and unweighted assumptions, connectedness convention, path-length definition, whether every pair is quantified, and the algorithm used to detect equal minima.

Manages Complexity

A single global uniqueness invariant permits rich cyclic structure yet can be falsified by one tied pair, linking metric and structural graph properties.

Abstract Reasoning

  1. Fix the graph and distance convention.
  2. For each source compute minimum distances.
  3. Track whether any target has two shortest predecessors or paths.
  4. Produce a tied pair as a counterexample.
  5. Certify geodeticity only after all pairs pass.

Knowledge Transfer

Unique-route intuition transfers to weighted or directed networks only after edge costs, direction, zero cycles, and tie conventions are specified; unweighted theorems need not survive.

Examples

Canonical

An odd cycle is geodetic because the two directions between any pair have unequal lengths; the shorter direction is unique.

Mapped back: graph → odd cycle; pair → arbitrary; candidate routes → two; minimum → unique.

Applied / In Practice

An even cycle has opposite vertices connected by two equal-length semicircles, so it is not geodetic.

Mapped back: graph → even cycle; pair → opposites; shortest paths → two.

Structural Tensions

T1 — Local Forbidden Patterns versus Global Uniqueness. Some small induced subgraphs obstruct geodeticity, but avoiding them alone need not characterize every graph.

Diagnostic: Has all-pairs uniqueness actually been tested?

T2 — Cyclic Richness versus Route Uniqueness. Cycles are permitted only when they do not create equal shortest alternatives.

Diagnostic: Which vertex pair witnesses a tie?

Structural–Framed Character

Geodetic Graph is structural as global uniqueness of graph geodesics.

Structural Core vs. Domain Accent

The core is graph carrier, shortest-path order, all-pairs quantifier, and uniqueness. Graph theory supplies examples, decomposition, forbidden patterns, and recognition algorithms.

This entry is a kind of Network.

  • Approved root. No reviewed parent entails this graph-metric property.

  • Related — shortest path, tree, block graph, odd cycle, and weakly geodetic graph. They provide relation, subset/examples, and relaxation.

Relationships to Other Abstractions

Local relationship map for Geodetic GraphParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Geodetic GraphDOMAINPrime abstraction: Network — is a kind ofNetworkPRIME

Current abstraction Geodetic Graph Domain-specific

Parents (1) — outgoing typed relations

  • Geodetic Graph is a kind of Network Prime

    Geodetic Graph is a strict kind of Network: it is a graph network whose stable differentia is a unique shortest path between every vertex pair.

Hierarchy path (1) — routes to 1 parentless root

  • Geodetic Graph → is a kind of Network

Neighborhood in Abstraction Space

Geodetic Graph sits in a crowded region of the domain-specific corpus (34th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Graph Structures & Algorithms (24 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

  • Tree. Tell: Has one path altogether, a stronger property.
  • Weakly geodetic graph. Tell: Only guarantees uniqueness at distance two.
  • Distance-regular graph. Tell: Constrains intersection numbers, not unique geodesics.
  • Geodesic graph drawing. Tell: Concerns representation rather than this graph class.

References

  • Frozen Wikipedia discovery revision: https://en.wikipedia.org/wiki/Geodetic_graph (revision 1329559292).