ArticleslgStudy

computer science

Degree diameter problem

Degree diameter problem is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Degree diameter problem rather than just read about it. In short: In graph theory, the degree–diameter problem asks for the maximum possible number nd,k of vertices in a finite simple undirected graph of maximum degree at most d and diameter at most k. A breadth-first search gives a general upper bound known as the Moore bound.

Degree diameter problem — main illustration
Degree diameter problem — illustration

Key takeaways

  • Degree diameter problem belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Degree diameter problem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Degree diameter problem from memory before moving on to harder problems.

Reference excerpt

In graph theory, the degree–diameter problem asks for the maximum possible number nd,k of vertices in a finite simple undirected graph of maximum degree at most d and diameter at most k. A breadth-first search gives a general upper bound known as the Moore bound. Exact equality in the Moore bound is exceptional. Apart from complete graphs, odd cycles, and the degree-one cases, the only known graphs attaining it are the Petersen graph and the Hoffman–Singleton graph; the only unresolved nontrivial parameter pair for equality is degree 57 and diameter 2. The exact value of nd,k is unknown for most pairs (d,k). A 2026 preprint by Wouter Cames van Batenburg and Samuel Korsky reports a proof that, for every fixed positive integer k,

limd→∞nd,kdk=1. This resolves a conjecture of Béla Bollobás and shows that, for every fixed diameter, the Moore bound is asymptotically tight as the degree tends to infinity.

History and motivation A principal motivation for the degree–diameter problem is the design of communication and computer interconnection networks. In this interpretation, vertices represent processors or other devices, maximum degree limits the number of direct connections available at a vertex, and diameter bounds the largest number of links that must be traversed between two vertices. An early treatment connected with this application was given by Bernard Elspas in a 1964 paper on interconnection-limited logic.

Definition and Moore bound For positive integers d and k, define

nd,k=max⁡{|V(G)|:Δ(G)≤d, diam⁡(G)≤k}, where Δ(G) denotes the maximum degree of G. The elementary cases are

nd,1=d+1,n1,k=2,n2,k=2k+1. They are attained by complete graphs, a single edge, and odd cycles, respectively. To obtain an upper bound, fix a vertex v. There are at most d vertices at distance one from v, and at most d(d−1)i−1 vertices at distance i, since each vertex other than v has at most d−1 edges leading farther away from v. Consequently,

nd,k≤Md,k=1+d∑i=0k−1(d−1)i, where Md,k is the Moore bound. Equivalently,

Md,k={1+d(d−1)k−1d−2,d≥3,2k+1,d=2,2,d=1. For every fixed k,

Md,k=dk+Ok(dk−1) as d→∞.

Moore graphs and defect A graph attaining equality in the Moore bound is called a Moore graph. Any graph attaining the bound is necessarily regular. Complete graphs Kd+1 are Moore graphs of diameter one, and the odd cycles C2k+1 are Moore graphs of degree two. For diameter two and degree greater than two, Hoffman and Singleton showed that the only possible degrees are 3, 7, and 57. The Petersen graph and the Hoffman–Singleton graph realize degrees 3 and 7, respectively, while the existence of a Moore graph of degree 57 remains open. Damerell and, independently, Bannai and Ito proved that there are no Moore graphs other than cycles with diameter at least three. For a graph G of maximum degree at most d and diameter at most k, the quantity

δ(G)=Md,k−|V(G)| is called its defect. Moore graphs have defect zero. Graphs of small positive defect are studied as finite approximations to Moore graphs.

Bounds and constructions Research on the degree–diameter problem proceeds in two complementary directions. Upper bounds and nonexistence results restrict the possible order of a graph, while explicit or probabilistic constructions provide lower bounds on nd,k. Construction methods have used finite geometries, Cayley graphs and other vertex-transitive graphs, graph lifts and voltage assignments, graph products and compounding, computational search, and probabilistic methods. For most nontrivial parameter pairs, the largest known construction has not been proved optimal.

Asymptotic behaviour Two principal asymptotic regimes arise according to whether the degree or the diameter is held fixed.

Fixed degree For d=2, the exact value is n2,k=2k+1. For every fixed d≥3, Bollobás and Fernandez de la Vega showed that almost every d-regular graph on n vertices has diameter

(1+o(1))logd−1n as n→∞. Together with the Moore bound, this gives

nd,k=(d−1)k+o(k) as k→∞ for each fixed d≥3. Thus random regular graphs provide constructions with the optimal exponential growth rate. This result does not determine the asymptotic ratio nd,k/Md,k.

Fixed diameter For fixed k, Delorme introduced the parameter

μk=lim infd→∞nd,kdk. The 2013 survey by Miller and Širáň recorded that

μ1=μ2=μ3=μ5=1 and that

μ4≥14. For every fixed k≥2, Bollobás conjectured that

lim supd→∞nd,kdk=1. A stronger variant replaced the limit superior by the limit inferior. In their 2026 preprint, Wouter Cames van Batenburg and Samuel Korsky report a proof of the full limit

limd→∞nd,kdk=1 for every fixed positive integer k. Equivalently,

μk=1 and

limd→∞nd,kMd,k=1 for every fixed k. Their construction uses regular graphs whose vertices are partial flags in vector spaces over finite fields. The preprint is accompanied by a Lean 4 formalization of its central theorem chain, including the asymptotic theorem.

Relation to the degree–girth problem The related degree–girth problem asks for the smallest possible order of a regular graph with prescribed degree and girth. For a d-regular graph of odd girth 2k+1, breadth-first counting gives Md,k as a lower bound on its order. A graph attaining this lower bound is simultaneously a cage and a Moore graph. For even girth, an analogous count leads to the bipartite Moore bound and the study of bipartite Moore graphs.

Directed and restricted variants For a directed graph of maximum out-degree at most d and directed diameter at most k, the directed Moore bound is

Md,k→=1+d+d2+⋯+dk={dk+1−1d−1,d>1,k+1,d=1. A digraph attaining the bound is called a Moore digraph. Moore digraphs exist only in the elementary cases d=1, represented by directed cycles, and k=1, represented by complete digraphs. Restricted forms of the degree–diameter problem have been studied for Cayley graphs, vertex-transitive graphs, bipartite graphs, planar graphs, graphs embeddable on a fixed surface, and several other graph classes.

Known values and open problems Exact values of nd,k are known for relatively few nontrivial parameter pairs. For most pairs, only upper bounds and the orders of the largest currently known constructions are available; these are recorded in the Table of the largest known graphs of a given diameter and maximal degree. The existence of a Moore graph of degree 57 and diameter 2 remains open. Other questions concern the optimal rate at which nd,k/dk tends to one for fixed k, and the regime in which both degree and diameter tend to infinity. In particular, it is unknown whether

… excerpt ends here. Continue reading the full article.

Illustrations

Degree diameter problem: The Moore bound is attained by the complete graph Kd+1 when k=1 and by the odd cycle C2k+1 when d=2.
The Moore bound is attained by the complete graph Kd+1 when k=1 and by the odd cycle C2k+1 when d=2.

Worked examples

Example 1 — a first encounter with Degree diameter problem

Start with the simplest possible case. Write down what Degree diameter problem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Degree diameter problem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Degree diameter problem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Degree diameter problem

In research
Degree diameter problem appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Degree diameter problem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Degree diameter problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational problems in graph theory, Extremal graph theory, Graph distance, so understanding it makes those chapters shorter.
In everyday life
Look for Degree diameter problem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Degree diameter problem” →

How to study Degree diameter problem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Degree diameter problem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Degree diameter problem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Degree diameter problem in simple terms?

In graph theory, the degree–diameter problem asks for the maximum possible number nd,k of vertices in a finite simple undirected graph of maximum degree at most d and diameter at most k. A breadth-first search gives a general upper bound known as the Moore bound.

Why does Degree diameter problem matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Degree diameter problem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Degree diameter problem.

Tags

  • Computational problems in graph theory
  • Extremal graph theory
  • Graph distance

Keep exploring