Skip to content

Commit 5384fb5

Browse files
committed
docs: emphasise bottleneck shift enabled by WMC; clarify comparison hierarchy
1 parent b728414 commit 5384fb5

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

manuscript.tex

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,22 @@ \subsection{Example 2: Light Cycle on a Spanning Tree}
426426

427427

428428
\section{Application: Accelerating Loop Modulus Computation}
429+
430+
\subsection*{From Online to Offline – shifting the bottleneck}
431+
The dominant cost in existing implementations of Loop Modulus (and other cycle–richness metrics) is the *online* search for the most violated cycles at every iteration. A standard implementation using *baseline Dijkstra* must perform a fresh single–source shortest–path (SSSP) expansion *inside* every optimisation iteration, tying the overall runtime directly to the number of iterations.
432+
433+
Our \emph{Weighted Minimum‐Cycle} (\textbf{WMC}) algorithm changes this picture fundamentally. Because WMC minimises \emph{composite distance} rather than plain SSSP trees, all information required to answer subsequent cycle queries can be collected in a single, graph–wide preprocessing pass. In other words, the expensive part is pushed to a \emph{pre-processing stage} that can be run once, cached, and even distributed across multiple workers or machines. Once the WMC structure is built, each iteration of the Loop Modulus algorithm merely consults the pre-computed data to retrieve violating cycles – typically \(100\!\times\) faster than re-running Dijkstra.
434+
435+
Engineering accelerations such as BMSSP recursion, the Cython relaxation kernel, or the compiled block-priority queue further reduce preprocessing time, yet \emph{they are not necessary for correctness}. They only shrink the wall-clock time of building the WMC structure. The conceptual contribution – the ability to decouple preprocessing from iterative optimisation – is already present in the basic WMC algorithm.
436+
437+
\paragraph{Comparison hierarchy.} We therefore separate our experimental results into three tiers:
438+
\begin{enumerate}[leftmargin=*]
439+
\item \textbf{Baseline Dijkstra} – conventional approach with a fresh SSSP per iteration.
440+
\item \textbf{Proposed WMC (our Dijkstra-replacement)} – composite-distance algorithm with no BMSSP or Cython; preprocessing executed once.
441+
\item \textbf{WMC + Engineering accelerations} – optional BMSSP, Cython heap, $\rho$-pruning, etc., which only affect preprocessing speed.
442+
\end{enumerate}
443+
This hierarchy clarifies that BMSSP should be viewed as an implementation detail that optimises an already superior computational layout rather than as the core methodological advance.
444+
429445
\label{sec:loop_modulus_app}
430446
A fundamental problem in network analysis is quantifying the ``richness'' of cyclic structures within a graph. The $p$-Modulus of a family of loops $L$ provides such a measure, analogous to concepts in complex analysis \cite{albin2016minimal}. For $p=2$, which offers computational advantages and a useful probabilistic interpretation, the modulus is defined via the quadratic programming problem (QP) \cite{shakeri2017network}:
431447

0 commit comments

Comments
 (0)