Mobility Matters
Home›Mobile agents on graphs›Exploration›Collaborative exploration›Dispersion

Dispersion

Spread \(k \le n\) agents over the nodes of an \(n\)-node anonymous graph so that no node hosts more than one agent, as fast as possible and with as little memory per agent as possible.

Problem statement and measuresexpand

Given a connected graph \(G\) with \(n\) nodes and \(m\) edges, and \(k \le n\) agents placed on the nodes of \(G\) in any initial configuration (the node of each agent; several agents may share a node), the agents must reach a configuration in which every node hosts at most one agent, and stay there.

Time is the number of rounds (synchronous) or epochs (asynchronous; an epoch is an interval in which every agent completes at least one full Communicate–Compute–Move step, not necessarily the shortest one) until the dispersed configuration is reached; where a result also makes every agent terminate explicitly, the notes say so. Memory is the number of bits of persistent memory each agent needs, counting its \(O(\log k)\)-bit identifier. Unless a variant or a result says otherwise, agents know nothing about \(n\), \(m\), \(k\), \(\Delta\) or \(D\).

Dispersion is the natural "one agent per node" problem: it is equivalent to leaving one agent at every node of a depth-first search (DFS) tree of \(k\) nodes, which is why depth-first search bounds such as \(\min(m, k\Delta)\) appear throughout, and it is a building block for exploration, leader election and self-deployment of agents.

Measures: Time, rounds in the synchronous model, epochs in the asynchronous model, until dispersion is reached; Memory, bits of persistent memory per agent, including its identifier.

Dynamic graphs with global communication

verified
Time: tightMemory: tight

Global communication plus 1-neighbourhood knowledge make dispersion solvable on 1-interval connected graphs, and in optimal \(\Theta(k)\) time.

Assumed (added on the last edge are outlined)

+Graph dynamicsdynamic graph, connected in every round (1-interval connected)+Edge directionundirected+Number of agents\(k \le n\)+Identifiersdistinct identifiers (eponymous): agents have pairwise distinct identifiers+Faultsno faults+Communicationglobal (any agent can read any other agent's state)+Timingsynchronous rounds

Not assumed

RandomnessdeterministicNode memoryno whiteboardsNode identifiersanonymous nodesTopologyarbitrary connected graphInitial configurationarbitrary (agents on any \(\ell \le k\) nodes)
Formal definitions of this setting
Graph dynamics: connected every round
\(\mathcal G=(G_t)_{t\ge0}\) is 1-interval connected if every snapshot \(G_t=(V,E_t)\) is connected. More generally it is \(T\)-interval connected if for every \(t\) the graph \(\bigl(V,\bigcap_{i=t}^{t+T-1}E_i\bigr)\) is connected.
Edge direction: undirected
\(G=(V,E)\) with \(E\subseteq\binom V2\); every edge can be traversed in both directions.
Number of agents: \(k \le n\)
The number of agents satisfies \(1\le k\le n\).
Identifiers: distinct IDs (eponymous)
Distinct identifiers (eponymous agents): the label function \(\mathrm{id}:\{1,\dots,k\}\to\{1,\dots,L\}\) is injective; usually \(L=k^{O(1)}\), so a label takes \(O(\log k)\) bits.
Randomness: deterministic
The next state and move of an agent are a function of its current state and what it observes.
Faults: no faults
All agents follow the algorithm forever.
Communication: global communication
At every round every agent can read the memory of every other agent, wherever it is.
Timing: synchronous
Time proceeds in rounds \(t=1,2,\dots\); in every round every agent communicates, computes and moves (at most one edge) simultaneously.
Node memory: no whiteboards
Nodes have no storage: no information can be left at a node except by an agent staying there.
Node identifiers: anonymous nodes
Nodes have no identifiers; an agent at \(v\) sees only \(\deg(v)\) and the port numbers \(1,\dots,\deg(v)\), which are assigned locally and independently at each endpoint of an edge.
Topology: any topology
\(G\) is any connected graph in the class allowed by the other axes.
Initial configuration: any start
Agents start at arbitrary nodes; \(\ell\le k\) nodes are initially occupied, possibly with several agents each.

What is known

Time · rounds in the synchronous model, epochs in the asynchronous model, until dispersion is reached
tight
\(\Theta(k)\); \(\Theta(kT)\) in the \(T\)-path connected model.
lower bound
bottleneckadversarial edge changes
holds when
  • a 1-interval connected dynamic tree with dynamic diameter \(O(1)\)
  • even with unbounded memory and global communication
  • \(\Omega(kT)\): \(T\)-path connected graphs, even with full visibility and known \(k\), \(n\), \(T\)
On a 1-interval connected tree with dynamic diameter \(O(1)\), even with unbounded memory. \(\Omega(kT)\) on \(T\)-path connected graphs Saxena & Mondal 2025.
introductory—
current best
\(\Theta(k)\)
1-neighbourhood knowledge
Memory · bits of persistent memory per agent, including its identifier
tight
\(\Theta(\log k)\).
lower bound
\(\Omega(\log k)\) Kshemkalyani et al. 2020
bottlenecksymmetry breaking
holds when
  • deterministic
  • all agents have the same memory bound
  • an initial configuration with co-located agents (rooted suffices)
  • memory counts the identifier
introductory—
current best
\(\Theta(\log k)\)
1-neighbourhood knowledge

Results, in order of publication

Time \(\Theta(k)\)Memory \(\Theta(\log k)\)
1-neighbourhood knowledge

Introductory and current best. With \(f \le k\) crash faults the same algorithm runs in \(O(k - f)\) rounds.

Time \(\Theta(kT)\)Memory \(O(\log\max(k,T))\)
1-hop visibilityknows \(T\) (for termination)

\(T\)-path connected graphs: every pair of nodes shares a connected component at least once in every window of \(T\) rounds, so the graph may be disconnected in some rounds. Impossible on connectivity-time graphs (union of \(T\) consecutive rounds connected) for \(k \ge 3\).

Time \(O(k)\)Memory \(O(\log n)\)
1-hop visibility\(\ell\)-bounded 1-interval connectedany \(k\), including \(k > n\)

Balanced dispersion: every node ends with \(\lfloor k/n\rfloor\) or \(\lceil k/n\rceil\) agents. Impossible on temporally connected graphs even with unbounded memory and full visibility.

Open questions

  1. Byzantine agents on dynamic graphs Kshemkalyani et al. 2020.

  2. Memory \(O(\log k)\) instead of \(O(\log\max(k,T))\) on \(T\)-path connected graphs when \(T\) need not be known Saxena & Mondal 2025.

What carries over from neighbouring settings

Read off the order of assumptions, not checked case by case: results may carry extra assumptions (shown on their pages), and asynchronous time is measured in epochs.

Algorithms from weaker settings work here

Lower bounds from stronger settings hold here

Global communication
Time \(\Omega(k)\)Memory \(\Omega(\log k)\)

Know a better result for this setting, or found a mistake? Suggest a result · Report an error. Accepted contributions are acknowledged.