Efficient cycles of ordered maximum matchings
The successor question after Gerlach et al.'s Theorem 17 asks how to generate an ordered maximum-matching cycle without storing the cycle in advance. For every odd \(n\ge3\), this paper constructs a cycle that streams in amortized constant time per pair using \(O(n^2)\) working words. Its next pair can also be recovered directly from the current window in \(O(n)\) word-RAM time. Exchanging the unmatched vertex with a matched one arranges the rotation classes in a shallow tree. Each window suffix has only three possible following pairs, so the effect of the traversal on the successor can be determined locally. Feeding the stream into the orientation product gives a specific two-row shorthand universal torus with \(n!/2\) columns. On vertices \(0,\ldots,2m\), treat an ordered matching as a cyclic list of \(m\) unordered pairs plus its spare vertex. Start a representative at the pair containing \(0\), or at the pair containing \(1\) if \(0\) is spare. At slot \(j\) the target is \(D_j=\{2j,2j+1\}\). For spare \(0\), exchange it with the partner of \(1\). Otherwise find the first mismatching slot and the smallest missing target value \(w\). If \(w\) is the spare, replace the smallest extra endpoint of the wrong pair by \(w\); if it is matched elsewhere, exchange it with the spare first. These exchanges send every class to the same root in at most \(2(n-1)+1\) steps. A tree edge has the same ordered suffix after dropping the exchanged pair. During traversal of a slot, visit attached children in increasing order of their replacement pairs before emitting the slot's own pair. This specifies the cyclic window sequence without storing it. The suffix of length \(m-1\) leaves three free vertices, making the stateless successor comparison finite and local.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24668424
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint