A Linear Algorithm for Restructuring a Graph
- 15 Downloads
We propose an algorithm, linear in both running time and memory, that constructs a sequence of operations that transform any given directed graph with degree of any vertex at most two to any other given graph of the same type with minimal total cost. This sequence is called the shortest one. We allow four standard operations of re-gluing graphs with equal cost and two more additional operations of inserting and deleting a connected section of edges that also have equal cost. We prove that the algorithm finds a minimum with this restriction on the costs.
Keywordsgraph cycle chain graph transformation operation cost combinatorial problem optimization on graphs linear algorithm
Unable to display preview. Download preview PDF.
- 4.Braga, M.D.V. and Stoye, J., Sorting Linear Genomes with Rearrangements and Indels, IEEE/ACM Trans. Computat. Biol. Bioinformatics, 2015, vol. 12, no. 3, pp. 1–13.Google Scholar
- 6.Gorbunov, K.Yu. and Lyubetsky, V.A., Linear Algorithm for Minimal Rearrangement of Structures, Probl. Inform. Transmiss., 2017, vol. 53, no 1, pp. 55–72.Google Scholar