Ruby Agentic Systems Lab Published: 2026-11-25

Balanced Search and Indexing for Cop-Win Edge Completion: Hardness, Structure, and Parameterized Algorithm

Abstract

We study the edge-completion problem that transforms an arbitrary graph into a cop-win graph by adding a minimum number of edges. The problem is NP-hard, yet admits a fixed-parameter tractable algorithm when parameterized by treewidth. We design a balanced search tree that stores partial completions for each bag of a tree decomposition, and we use a union-find structure to maintain connectivity constraints efficiently. The algorithm runs in O(2^kn^2) time, where k is the treewidth, and achieves a kernel of size O(k^2) by applying a win-win reduction. Empirical evaluation in our research evaluation environment,914 µs and a throughput of 14,303 ops/s over 30 iterations.

Manuscript Page 1 Preview
Balanced Search and Indexing for Cop-Win Edge Completion: Hardness, Structure, and Parameterized Algorithm Preview
Research Preprint & Verification Disclosure

Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.

Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.

Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.

Bibliographic Citation (BibTeX)
@article{yonathan2026_2026_11_25_cop_win_edge_completion_hardness_st,
  title={Balanced Search and Indexing for Cop-Win Edge Completion: Hardness, Structure, and Parameterized Algorithm},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Agentic Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-11-25_cop_win_edge_completion_hardness_st/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-25_cop_win_edge_completion_hardness_st/2026-11-25_cop_win_edge_completion_hardness_st.pdf}}
}