Finding a Zero Path in $mathbb{Z}_3$-Labeled Graphs (Optimization Algorithms : theory, application and implementation)
康志 河瀬, 佑輔 小林, 勇太郎 山口 · Kyoto University Research Information Repository (Kyoto University) · 2015
The parity of the length of paths and cycles is a classical and well-studied topic in graph theory and theoretical computer science.A basic problem concerned with parity is to find an odd or even $s-t$ path in an undirected graph.It can be solved in polynomial time easily, whereas its directed version is NP-hard.In this paper, as a generalization of this problem, we focus on the problem of finding an $s-t$ path in a group-labeled graph, which is a directed graph with a group label on each arc.It is not difficult to see that finding an odd or even path in an undirected graph can be formulated as finding a zero path in a $\mathbb{Z}_{2}$ -labeled graph.For group-labeled graphs, efficient algorithms for finding non-zero paths or cycles with some conditions have been devised recently.On the other hand, the difficulty of finding a zero path is heavily dependent on the group, e.g., it is NP-complete to determine whether there exists an $s-t$ path of label zero (or another specified label) in a $\mathbb{Z}-$ -labeled graph, but quite easy in a $\mathbb{Z}_{2}$ -labeled graph.It is in fact known that a zero path in a $\Gamma$ -labeled graph can be found in polynomial time for any constant-size abelian group $\Gamma$ by getting help of the graph minor theory.In this paper, we present a solution to finding an $\mathcal{S}-t$ path in a group-labeled graph with two labels forbidden.This also leads to an elementary solution to finding a zero path in a $\mathbb{Z}_{3}$ -labeled graph, which is the first nontrivial case of finding a zero path.This case generalizes the 2-disjoint paths problem in undirected graphs, which also motivates us to consider that setting.More precisely, we provide an elementary polynomial-time algorithm for testing whether there are at most two possible labels of $s-t$ paths in a group-labeled graph or not, and finding $s-t$ paths attaining at least three distinct labels if exist.We also give a necessary and sufficient condition for a group-labeled graph to have exactly two possible labels of $s-t$ paths, and our algorithm is based on this characterization.
Cited by 0 works. Open-access PDF