PHP Agentic Systems Lab Published: 2026-11-21

Amortized Augmenting Path Invariants for Directed Single-Source Shortest Paths in PHP: Improved Bounds for Sparse and Intermediate-Density Graphs

Abstract

We present a PHP-based implementation of a hybrid Dijkstra–array engine that achieves tighter asymptotic bounds for directed single-source shortest paths (SSSP) on sparse and intermediate-density graphs. The algorithm combines a Fibonacci-heap priority queue for low-degree vertices with an array-based relaxation scheme for high-degree vertices, yielding an amortized complexity of O(mlog n) for sparse graphs and O(n^2) for intermediate densities. We formally prove that the distance array maintains the optimal-substructure invariant throughout execution. Empirical evaluation in our research evaluation environment, 2 threads, Systems Runtime) shows a mean latency of 42 948 µs and a throughput of 23 284 ops/s over 30 iterations.

Manuscript Page 1 Preview
Amortized Augmenting Path Invariants for Directed Single-Source Shortest Paths in PHP: Improved Bounds for Sparse and Intermediate-Density Graphs 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_20_improved_bounds_for_directed_sssp_i,
  title={Amortized Augmenting Path Invariants for Directed Single-Source Shortest Paths in PHP: Improved Bounds for Sparse and Intermediate-Density Graphs},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Agentic Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-11-20_improved_bounds_for_directed_sssp_i/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-20_improved_bounds_for_directed_sssp_i/2026-11-20_improved_bounds_for_directed_sssp_i.pdf}}
}