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.

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. Inclusion test: Require an undirected, unweighted, connected graph convention and exactly one minimum-length path for every unordered vertex pair. Exclusion test: Exclude trees as the whole class, unique-path graphs regardless of length, weakly geodetic graphs, and weighted or directed claims without a redefined metric. Nearest boundary: 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. Exit condition: The graph leaves the class as soon as one pair has two distinct paths of equal minimum length, even if every other pair is unique. Common misclassifications: 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. Nearest named distinctions: Tree: Has one path altogether, a stronger property. Weakly geodetic graph: Only guarantees uniqueness at distance two. Distance-regular graph: Constrains intersection numbers, not unique geodesics. Geodesic graph drawing: Concerns representation rather than this graph class.

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.

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