English

A simple combinatorial algorithm for restricted 2-matchings in subcubic graphs -- via half-edges

Data Structures and Algorithms 2021-01-01 v1 Discrete Mathematics

Abstract

We consider three variants of the problem of finding a maximum weight restricted 22-matching in a subcubic graph GG. (A 22-matching is any subset of the edges such that each vertex is incident to at most two of its edges.) Depending on the variant a restricted 22-matching means a 22-matching that is either triangle-free or square-free or both triangle- and square-free. While there exist polynomial time algorithms for the first two types of 22-matchings, they are quite complicated or use advanced methodology. For each of the three problems we present a simple reduction to the computation of a maximum weight bb-matching. The reduction is conducted with the aid of half-edges. A half-edge of edge ee is, informally speaking, a half of ee containing exactly one of its endpoints. For a subset of triangles of GG, we replace each edge of such a triangle with two half-edges. Two half-edges of one edge ee of weight w(e)w(e) may get different weights, not necessarily equal to 12w(e)\frac{1}{2}w(e). In the metric setting when the edge weights satisfy the triangle inequality, this has a geometric interpretation connected to how an incircle partitions the edges of a triangle. Our algorithms are additionally faster than those known before. The running time of each of them is O(n2logn)O(n^2\log{n}), where nn denotes the number of vertices in the graph.

Keywords

Cite

@article{arxiv.2012.15775,
  title  = {A simple combinatorial algorithm for restricted 2-matchings in subcubic graphs -- via half-edges},
  author = {Katarzyna Paluch and Mateusz Wasylkiewicz},
  journal= {arXiv preprint arXiv:2012.15775},
  year   = {2021}
}
R2 v1 2026-06-23T21:39:26.938Z