Saved in:
Bibliographic Details
Main Authors: Laštovička, Petr, Legerský, Jan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2412.13721
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914190341439488
author Laštovička, Petr
Legerský, Jan
author_facet Laštovička, Petr
Legerský, Jan
contents One of the questions in Rigidity Theory is whether a realization of the vertices of a graph in the plane is flexible, namely, if it allows a continuous deformation preserving the edge lengths. A flexible realization of a connected graph in the plane exists if and only if the graph has a NAC-coloring, which is a surjective edge coloring by two colors such that for each cycle, either all the edges have the same color, or there are at least two edges of each color. The question whether a graph has a NAC-coloring, and hence also the existence of a flexible realization, has been proven to be NP-complete. We show that this question is also NP-complete on graphs with maximum degree five and on graphs with the average degree at most $4+\varepsilon$ for every fixed $\varepsilon >0$. We also show that NAC-colorings can be counted in linear time for graphs with bounded treewidth. Since the only existing implementation of checking the existence of a NAC-coloring is rather naive, we propose new algorithms along with their implementation, which is significantly faster. We also focus on searching all NAC-colorings of a graph, since they provide useful information about its possible flexible realizations.
format Preprint
id arxiv_https___arxiv_org_abs_2412_13721
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Flexible realizations existence: NP-completeness on sparse graphs and algorithms
Laštovička, Petr
Legerský, Jan
Computational Geometry
Combinatorics
52C25, 52-04, 68Q25
One of the questions in Rigidity Theory is whether a realization of the vertices of a graph in the plane is flexible, namely, if it allows a continuous deformation preserving the edge lengths. A flexible realization of a connected graph in the plane exists if and only if the graph has a NAC-coloring, which is a surjective edge coloring by two colors such that for each cycle, either all the edges have the same color, or there are at least two edges of each color. The question whether a graph has a NAC-coloring, and hence also the existence of a flexible realization, has been proven to be NP-complete. We show that this question is also NP-complete on graphs with maximum degree five and on graphs with the average degree at most $4+\varepsilon$ for every fixed $\varepsilon >0$. We also show that NAC-colorings can be counted in linear time for graphs with bounded treewidth. Since the only existing implementation of checking the existence of a NAC-coloring is rather naive, we propose new algorithms along with their implementation, which is significantly faster. We also focus on searching all NAC-colorings of a graph, since they provide useful information about its possible flexible realizations.
title Flexible realizations existence: NP-completeness on sparse graphs and algorithms
topic Computational Geometry
Combinatorics
52C25, 52-04, 68Q25
url https://arxiv.org/abs/2412.13721