A Vertex Conflict occurs in Multi-Agent Path Finding (MAPF) when two or more agents are planned to occupy the same graph vertex (location) at the same timestep. This is a primary constraint that optimal MAPF solvers, like Conflict-Based Search (CBS), must detect and resolve to guarantee collision-free trajectories. Resolving a vertex conflict typically involves imposing a constraint on one agent, forcing it to either wait or take an alternative route, thereby increasing the solution's Sum of Costs or Makespan.
Glossary
Vertex Conflict

What is Vertex Conflict?
A Vertex Conflict is a fundamental collision type in Multi-Agent Path Finding (MAPF) algorithms.
Vertex conflicts are a core component of the Conflict Avoidance Table (CAT), a data structure used for efficient conflict detection during planning. In temporal planning models like Space-Time A* or Time-Expanded Graphs, a vertex conflict is explicitly represented as a collision in a space-time cell. The severity of a conflict is often categorized; a Cardinal Conflict is a specific, costly type of vertex conflict where any resolution unavoidably increases the total path cost for the involved agents.
Key Characteristics of Vertex Conflicts
A Vertex Conflict is a fundamental constraint in Multi-Agent Path Finding (MAPF) where two agents are scheduled to occupy the same location at the same time. Understanding its properties is critical for designing robust collision avoidance systems.
Definition and Core Mechanism
A Vertex Conflict is formally defined as a tuple (a_i, a_j, v, t), where agents a_i and a_j are both planned to occupy the same vertex v at the same timestep t. This is the most basic spatial conflict in discrete MAPF formulations. The conflict represents a hard constraint that must be resolved for a plan to be executable, typically by imposing a constraint on one agent to be elsewhere at time t, often via waiting or detouring.
Detection in Algorithms
Vertex conflicts are detected by comparing the space-time trajectories of all agent pairs. Efficient algorithms use data structures like a Conflict Avoidance Table (CAT) to store reservations (v, t) for each agent. A lookup in this table for a planned move reveals an imminent conflict. In Conflict-Based Search (CBS), detecting a vertex conflict is the primary trigger for splitting the search tree and imposing new constraints on the conflicting agents.
Resolution Strategies
Resolving a vertex conflict forces a change to at least one agent's plan. Common resolution methods include:
- Temporal Delay: One agent waits at its previous vertex for one or more timesteps.
- Spatial Detour: One agent takes an alternative route around the contested vertex.
- Priority Assignment: In Priority Planning, the lower-priority agent must always yield, treating the higher-priority agent's path as a moving obstacle. The choice of strategy directly impacts solution optimality metrics like Sum of Costs or Makespan.
Relation to Other Conflict Types
Vertex conflicts are one of three primary conflict types in MAPF. It's essential to distinguish them:
- Edge Conflict: Two agents traverse the same edge in opposite directions simultaneously (a_i, a_j, u, v, t). This is logically equivalent to a vertex conflict on the edge.
- Cardinal Conflict: A severe vertex conflict where any resolution necessarily increases the sum of costs for both agents, representing a fundamental bottleneck.
- Following Conflict: A softer constraint where one agent occupies a vertex immediately after another, which may be acceptable or require a k-robust separation.
Impact on Solution Quality
The frequency and nature of vertex conflicts are primary drivers of computational complexity and plan efficiency. A high density of conflicts leads to:
- Exponential growth of the search tree in optimal algorithms like CBS.
- Increased Sum of Costs (SOC) due to added wait actions or longer detours.
- Longer Makespan as agents wait for shared resources. Algorithms often aim to minimize the number of conflicts or prioritize resolving cardinal conflicts first to guide the search more effectively.
Modeling and Representation
Vertex conflicts are inherently modeled in a discrete space-time framework. The environment is represented as a graph G=(V,E), and time is discretized. An agent's path is a sequence of vertices paired with timesteps: [(v_0, 0), (v_1, 1), ...]. This representation allows for clear conflict definition. In continuous or kinodynamic planning, the analogous concept is a simultaneous occupancy of the same geometric region, which is more complex to detect and resolve.
Vertex Conflict vs. Other MAPF Conflict Types
A comparison of the primary conflict types defined in Multi-Agent Path Finding (MAPF) algorithms, detailing their definitions, detection methods, and resolution strategies.
| Conflict Feature | Vertex Conflict | Edge Conflict | Cardinal Conflict |
|---|---|---|---|
Definition | Two agents occupy the same location (vertex) at the same timestep. | Two agents traverse the same edge in opposite directions simultaneously. | A conflict whose resolution unavoidably increases the sum of costs (SOC) for the involved agents. |
Detection Complexity | O(1) per agent pair per timestep | O(1) per agent pair per timestep | Requires cost analysis of all possible resolutions |
Primary Resolution Method | Impose a vertex constraint (e.g., Agent 1 cannot be at vertex V at time T). | Impose an edge constraint (e.g., Agent 1 cannot traverse edge E at time T). | Forces a replan that increases the global solution cost; often a bottleneck. |
Impact on Solution Optimality (CBS) | May or may not increase sum of costs. | May or may not increase sum of costs. | Guaranteed to increase the sum of costs. |
Visual Representation | Agents A and B on the same grid cell. | Agents A and B crossing the same line between cells. | A conflict forming a tight, unavoidable bottleneck. |
Prevention Strategy | k-robust planning (enforce k-timestep separation at vertices). | Use of directed edges or explicit passing rules. | Early identification in CBS to prune high-cost branches. |
Example in CBS Constraint | (agent: A, vertex: (5,5), time: 10) | (agent: A, edge: from (5,5) to (5,6), time: 10) | Resolving it creates a constraint that makes one agent's optimal path longer. |
Relation to Other Conflicts | The most fundamental spatial conflict type. | A specialized temporal-spatial conflict. | A property of a Vertex or Edge Conflict, denoting its severity. |
Frequently Asked Questions
A Vertex Conflict is a fundamental concept in Multi-Agent Path Finding (MAPF) where coordination fails. These questions address its definition, detection, resolution, and impact on system performance.
A Vertex Conflict is a fundamental type of collision in Multi-Agent Path Finding (MAPF) where two or more agents are planned to occupy the same location (vertex) at the same timestep. This represents a direct spatial overlap that would cause a physical collision if executed, making its detection and resolution the core challenge of MAPF algorithms. It is distinguished from an Edge Conflict, where agents traverse the same edge in opposite directions simultaneously. Vertex conflicts are the primary constraint that algorithms like Conflict-Based Search (CBS) and Multi-Agent A (MAA)** are designed to systematically identify and eliminate to produce a collision-free joint plan for the entire fleet.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Vertex Conflict is a core concept in Multi-Agent Path Finding (MAPF). Understanding related terms provides context for conflict types, detection mechanisms, and resolution algorithms.
Edge Conflict
An Edge Conflict occurs when two agents are planned to traverse the same graph edge in opposite directions during the same time step. This is distinct from a Vertex Conflict, which involves simultaneous occupancy of a node.
- Detection: Algorithms check for pairs of agents where one moves from vertex A to B while another moves from B to A at the same time.
- Resolution: Common strategies include imposing a precedence constraint (forcing one agent to wait) or rerouting one agent via an alternative path.
Conflict-Based Search (CBS)
Conflict-Based Search (CBS) is a two-level, optimal algorithm for solving MAPF problems. It directly identifies and resolves Vertex and Edge Conflicts.
- High-Level: Searches a constraint tree. Each node contains a set of constraints (e.g., "Agent 1 cannot be at vertex V at time T") and a solution that respects them.
- Low-Level: Plans individual paths for each agent using a fast single-agent planner (like A*), adhering to the current constraints.
- Process: When a conflict (vertex or edge) is found in a solution, the algorithm branches, adding a constraint for each agent involved to resolve it.
Conflict Avoidance Table (CAT)
A Conflict Avoidance Table (CAT) is a core data structure used to efficiently detect Vertex and Edge Conflicts during planning. It stores the space-time reservations of all currently planned agent paths.
- Function: For a candidate move (agent, vertex, time), the planner queries the CAT to see if that space-time cell is already occupied or an edge is already being traversed.
- Implementation: Often implemented as a hash map or a 3D array (agent, location, time).
- Usage: Central to algorithms like CBS, ICTS, and Windowed Hierarchical Cooperative A (WHCA)** for fast conflict checking without pairwise agent comparisons.
Cardinal Conflict
A Cardinal Conflict is the most severe type of conflict in optimal MAPF. It occurs when two agents have a Vertex or Edge Conflict, and resolving it by making one agent wait inevitably increases the sum of costs (SOC) for the overall solution.
- Implication: The presence of a cardinal conflict means the current cost bound for the solution must be increased to find a conflict-free plan.
- Detection: Algorithms like Conflict-Based Search (CBS) classify conflicts as cardinal, semi-cardinal, or non-cardinal to guide the search more intelligently, focusing effort on conflicts that force a cost increase.
Multi-Value Decision Diagram (MDD)
A Multi-Value Decision Diagram (MDD) is a compact, layered graph that encodes all possible optimal paths for a single agent from its start to its goal within a specific cost bound (e.g., shortest path length).
- Structure: Each layer corresponds to a timestep. Nodes in a layer represent vertices the agent could occupy at that time while still reaching its goal optimally.
- Use in Conflict Detection: MDDs are powerful for identifying Vertex Conflicts. A conflict exists at vertex V at time T if that vertex appears in the MDDs of two different agents at the same layer T.
- Use in Conflict Resolution: Algorithms like ICTS use MDDs to explore combinations of agent paths efficiently.
k-Robust Planning
k-Robust Planning is a robustness strategy that enforces a temporal buffer of at least k timesteps between agents at any location, going beyond merely avoiding Vertex Conflicts.
- Purpose: Provides a safety margin against timing uncertainties, execution delays, or sudden stops in real-world systems.
- Effect on Vertex Conflicts: A k-robust plan inherently avoids standard vertex conflicts (where k=0). For k>0, it prevents agents from occupying the same vertex even at different times if the separation is less than k. This is sometimes called a k-vertex conflict.
- Trade-off: Increases path costs (makespan, SOC) but significantly improves plan executability and safety.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us