Nonrepetitive Paths and Cycles in Graphs with Application to Sudoku

dc.creatorEppstein, David
dc.date2005-07-20
dc.date.accessioned2026-07-07T03:23:14Z
dc.date.available2026-07-07T03:23:14Z
dc.descriptionWe provide a simple linear time transformation from a directed or undirected graph with labeled edges to an unlabeled digraph, such that paths in the input graph in which no two consecutive edges have the same label correspond to paths in the transformed graph and vice versa. Using this transformation, we provide efficient algorithms for finding paths and cycles with no two consecutive equal labels. We also consider related problems where the paths and cycles are required to be simple; we find efficient algorithms for the undirected case of these problems but show the directed case to be NP-complete. We apply our path and cycle finding algorithms in a program for generating and solving Sudoku puzzles, and show experimentally that they lead to effective puzzle-solving rules that may also be of interest to human Sudoku puzzle solvers.
dc.description17 pages, 11 figures
dc.identifierhttps://arxiv.org/abs/cs/0507053
dc.identifierhttp://arxiv.org/abs/cs/0507053
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/32867
dc.subjectData Structures and Algorithms
dc.subjectArtificial Intelligence
dc.subjectF.2.2; I.2.1
dc.titleNonrepetitive Paths and Cycles in Graphs with Application to Sudoku
dc.typetext

Files

Collections