Collision-free exploration
Agents start at distinct nodes of a graph and must explore it so that no two agents are ever at the same node; how long does it take, and what must the agents sense of each other?
Problem statement and measurescollapse
\(k \ge 2\) agents start at distinct nodes of a connected undirected graph \(G\) with \(n\) nodes and move in synchronous rounds: in each round an agent stays or crosses one edge. A collision is two agents at the same node in the same round; two agents that cross one edge in opposite directions do not collide and do not notice it. Exploration is collision-free if no collision ever happens, also with an agent that an adversary has not yet woken up. Unless a setting says otherwise, every agent must visit every node and then stop. The agents run the same deterministic algorithm, cannot mark nodes and send no messages; what they perceive of each other (their vision) and what they know of \(G\) are fixed by the setting, and in some settings an oracle places coloured pebbles on nodes before the start. Time is the number of rounds from the wake-up of the later agent until every agent has stopped. \(X(n)\) is the time of a single-agent exploration procedure for graphs with at most \(n\) nodes, used as a building block (polynomial in \(n\), for instance with a universal exploration sequence).
Measures: Time, rounds from the wake-up of the later agent until all agents have stopped; Colours, number of pebble colours the oracle needs, when pebbles are used.
A first look
the basic problem, a simple algorithm and why some things cannot be done, for a newcomer
Picture night guards in a museum who must each check every room, where no two guards may ever stand in the same room at the same moment. The museum is a graph: its rooms are nodes and the doorways between them are edges; it has \(n\) nodes. The guards are agents. They start on distinct nodes and move in synchronous rounds: in each round an agent stays where it is or crosses one edge. A collision is two agents on the same node in the same round. Two agents that cross the same edge in opposite directions pass each other unnoticed, and that is not a collision. Every agent must visit every node and then stop, without any collision. An adversary, an opponent who knows the algorithm, chooses where the agents start and the round in which each one wakes up. The agents run the same deterministic algorithm, cannot mark nodes and send no messages. What they perceive of each other is their vision. In the standard version there are two identical agents that see everything within two edges of their node, and that know an upper bound on \(n\). In other versions the nodes carry labels and the agents may have a map, or an oracle places coloured pebbles on some nodes before the start. We measure time: the number of rounds until all agents have stopped.
Suppose the graph is a tree (a graph without cycles), its nodes carry labels, and every agent has a map but does not know where the others are. Let \(\Delta\) be the largest number of edges at a node.
- Every agent computes the same colouring of the edges with \(\Delta\) colours in which no two edges at a node share a colour; a tree always has one.
- In round \(r\) the colour is \(1 + (r-1) \bmod \Delta\), so the rounds run through the colours \(1, 2, \dots, \Delta\) and start again.
- In each round every agent crosses the edge of that round's colour at its node, if there is one, and otherwise waits.
- After \(n\Delta\) rounds every agent stops.
Why it matters. Colouring the edges turns a coordination problem into a timetable that every agent can follow alone, and it is exactly optimal on trees.
Put an agent on every node of a tree and look at a node \(u\) with \(\Delta\) edges.
- In each round at most one agent enters \(u\), otherwise two would collide there.
- Every agent must visit all \(\Delta\) branches at \(u\) and come back to its start node. In a tree each branch is reached only through \(u\), so every agent enters \(u\) at least \(\Delta\) times.
- Together the \(n\) agents enter \(u\) at least \(n\Delta\) times, at most once per round.
Why it matters. The bottleneck is a single busy node, the same congestion argument that bounds routing in networks.
Take a star: a centre node joined by edges to leaves, nodes with a single edge. Two identical agents start on two leaves and see only their own node, its neighbours and any agent there (vision of radius 1).
- From a leaf an agent sees only the centre, so it cannot see the other agent.
- The only way out of a leaf is the centre. The algorithm must tell each agent to wait some number of rounds after waking up and then step onto the centre; the number may depend on what the agent sees.
- The adversary wakes the agent with the shorter wait later, by the difference between the two waits.
Why it matters. It shows what vision buys: one more edge of sight separates impossible from possible for two agents.
What is known
The best upper bound against the best lower bound in each catalogued setting. Open a setting for its results, proofs and notes, or see the progress map with the branch points.
Open questions 5
Two agents sensing presence, with coloured pebbles
- Do two colours suffice on every graph Das et al. 2025a?
- How fast can two agents explore with three colours Das et al. 2025a?
Two agents, anonymous graphs, vision of radius 2
- Can two agents explore without collisions as fast as one agent explores alone? Asked by Bhagat & Pelc 2025; Papin 2026 claims a constant factor.
- For which number of agents below \(n\) is collision-free exploration of anonymous graphs feasible, and with which vision radius Bhagat & Pelc 2025?
Labelled graphs, no knowledge, any number of agents
- Close \(O(n^5\log n)\) against \(\Omega(n^2)\) for agents without a map on graphs with labelled nodes.
What the community started looking at
Czyzowicz, Dereniowski, Gąsieniec, Klasing, Kosowski and Pająk asked how long any number of agents need to explore a graph with labelled nodes without ever sharing a node, every agent returning to its start node; with a map the answer is \(n\) times the smallest maximum degree of a spanning tree, up to a constant factor Czyzowicz et al. 2017a. Bhagat and Pelc took the problem to anonymous graphs with two identical agents, where vision of radius 2 is necessary and sufficient Bhagat & Pelc 2025. Das, Dhar, Gorain and Mahawar replaced most of that vision by coloured pebbles placed by an oracle Das et al. 2025a, and Papin claims to remove the logarithmic slowdown of Bhagat and Pelc and to correct their algorithm Papin 2026.
Variant of Graph exploration by a single agent
Every agent explores the graph as in exploration, and no two agents may ever be at the same node. A single-agent exploration procedure is the building block: with vision of radius 2, two agents run any such procedure with a slowdown of at most a factor \(\log n\) Bhagat & Pelc 2025 (a constant factor is claimed by Papin 2026). Lower bounds for exploring by one agent hold here whenever every agent must visit every node.
Related problems
Collaborative exploration: When it suffices that every node is visited by some agent, the task is collaborative exploration with the added rule that agents never share a node Das et al. 2025a.
All settings
The assumption tree (10 settings, 5 branch points)
The root assumes nothing. Going down, each edge adds the assumptions on its chips (+blue); a grey chip names the branch that leaves that axis unassumed while a sibling assumes something. Solid nodes are catalogued variants with their status per measure (Time, Colours); dashed nodes are branch points with no catalogued variant, named after the axis on which their branches differ. Axis order: Graph dynamics › Edge direction › Node identifiers › Timing › Number of agents › What must be visited › Knowledge of the graph › Vision of the other agents › Help from an oracle › Start › Topology.
-
No assumptions · 1 branches by graph dynamics
Nothing is assumed on any axis.
-
+static graph+undirectedNode identifiers · 2 branches
-
anonymous nodes+synchronous+two agentsWhat must be visited · 3 branches
-
+the team+bound on \(n\)+presenceTwo agents sensing presence, no pebbles Two identical agents that only sense each other's presence cannot explore even a path of three nodes without help.
-
every agent+bound on \(n\)Vision of the other agents · 2 branches
-
+radius 2Two agents, anonymous graphs, vision of radius 2 standard setting draft Two identical agents that see two edges around them and know a bound on \(n\) explore any graph with more than two nodes without collisions, at most a factor \(\log n\) slower than one agent.
-
+radius 1Two agents, anonymous graphs, vision of radius 1 With vision of radius 1, two identical agents cannot explore a star without colliding.
-
-
every agentnothing known+radius 2+simultaneous startAnonymous graphs, nothing known In anonymous graphs, agents that know no bound on \(n\) cannot explore and stop, whatever their number and their vision.
-
-
+labelled nodes+synchronousKnowledge of the graph · 2 branches
-
+map+simultaneous startLabelled graphs, with a map, any number of agents With a map, collision-free exploration of a graph takes \(\Theta(n\Delta^*)\) rounds, where \(\Delta^*\) is the smallest maximum degree of a spanning tree; computing the exact optimum is NP-hard.
-
nothing known+simultaneous startLabelled graphs, no knowledge, any number of agents Without a map or a bound on \(n\), agents on a graph with labelled nodes explore without collisions in \(O(n^5\log n)\) rounds, against \(\Omega(n^2)\).
-
-
-
Assumptions specific to this problem
Number of agents
Czyzowicz et al. allow any number of agents, unknown to them Czyzowicz et al. 2017a. Bhagat and Pelc restrict to two agents and ask how to handle larger teams, for which symmetry breaking and synchronisation by observing moves become hard Bhagat & Pelc 2025.
Formal definitions
- 0any \(k\)
- Any number \(k\) of agents, \(2 \le k \le n\), which they do not know.
- 1two agents
- Exactly two agents.
What must be visited
Czyzowicz et al. and Bhagat and Pelc require every agent to explore Czyzowicz et al. 2017a Bhagat & Pelc 2025; Bhagat and Pelc ask whether it helps that each node is visited by one agent only. Das et al. require only that the team visits every node Das et al. 2025a.
Formal definitions
- 0every agent
- Every agent must visit every node and stop (in Czyzowicz et al. 2017a also return to its start node).
- 1the team
- Every node must be visited by at least one agent, and all agents stop.
Knowledge of the graph
Czyzowicz et al. compare agents with a map with agents that see only the identifiers of the current node and its neighbours Czyzowicz et al. 2017a. In anonymous graphs an upper bound on \(n\) is necessary: without it no team of agents can explore and stop, whatever their vision Bhagat & Pelc 2025.
Formal definitions
- 0nothing known
- The agents know nothing about \(G\), not even \(n\).
- 1bound on \(n\)
- The agents know an upper bound on \(n\) (Das et al. 2025a give them \(n\) itself).
- 2map
- Every agent knows \(G\) and its own start node in it, but not the number or the start nodes of the other agents.
Vision of the other agents
With labelled nodes and a map, agents can precompute routes that never meet, so they need not see each other Czyzowicz et al. 2017a. In anonymous graphs, Bhagat and Pelc give vision of radius 2 and prove that radius 1 does not suffice; agents then also communicate by watching each other move Bhagat & Pelc 2025. Das et al. weaken vision to the presence of the other agent one edge away and compensate with pebbles Das et al. 2025a.
Formal definitions
- 0no vision
- An agent never perceives another agent.
- 1presence
- An agent notices that the other agent is on a neighbouring node, but not on which one Das et al. 2025a.
- 2radius 1
- An agent sees the subgraph induced by the nodes at distance at most 1, with its port numbers and the agents on these nodes.
- 3radius 2
- An agent sees the subgraph induced by the nodes at distance at most 2, with its port numbers and the agents on these nodes Bhagat & Pelc 2025.
Help from an oracle
Das, Dhar, Gorain and Mahawar let an oracle place coloured pebbles, as in advice-based models of mobile agents, and ask for the fewest colours Das et al. 2025a.
Formal definitions
- 0no help
- Nothing is placed on the nodes.
- 1pebbles
- Before the start an oracle that knows \(G\), the start nodes and the wake-up rounds places at most one pebble on each node; pebbles have colours, and an agent sees the pebble of the node it is at Das et al. 2025a.
Start
Czyzowicz et al. start all agents together Czyzowicz et al. 2017a. Bhagat and Pelc let the adversary wake the agents; on the graph with two nodes this alone makes the task impossible Bhagat & Pelc 2025.
Formal definitions
- 0adversarial wake-up
- Each agent starts in a round chosen by the adversary; until then it stays at its start node, where no other agent may enter.
- 1simultaneous start
- All agents start in the same round.
Know a better result, or found a mistake? Suggest a result · Report an error. Accepted contributions are acknowledged.