Advertisement

Swapping Labeled Tokens on Graphs

  • Katsuhisa Yamanaka
  • Erik D. Demaine
  • Takehiro Ito
  • Jun Kawahara
  • Masashi Kiyomi
  • Yoshio Okamoto
  • Toshiki Saitoh
  • Akira Suzuki
  • Kei Uchizawa
  • Takeaki Uno
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8496)

Abstract

Consider a puzzle consisting of n tokens on an n-vertex graph, where each token has a distinct starting vertex and a distinct target vertex it wants to reach, and the only allowed transformation is to swap the tokens on adjacent vertices. We prove that every such puzzle is solvable in O(n 2) token swaps, and thus focus on the problem of minimizing the number of token swaps to reach the target token placement. We give a polynomial-time 2-approximation algorithm for trees, and using this, obtain a polynomial-time 2α-approximation algorithm for graphs whose tree α-spanners can be computed in polynomial time. Finally, we show that the problem can be solved exactly in polynomial time on complete bipartite graphs.

Keywords

Polynomial Time Complete Bipartite Graph Directed Cycle Unweighted Graph Sorting Network 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Bitton, D., DeWitt, D.J., Hsaio, D.K., Menon, J.: A taxonomy of parallel sorting. ACM Computing Surveys 16, 287–318 (1984)CrossRefzbMATHGoogle Scholar
  2. 2.
    Cai, L., Corneil, D.G.: Tree spanners. SIAM J. Discrete Mathematics 8, 359–387 (1995)CrossRefzbMATHMathSciNetGoogle Scholar
  3. 3.
    Cayley, A.: Note on the theory of permutations. Philosophical Magazine 34, 527–529 (1849)Google Scholar
  4. 4.
    Cypher, R., Plaxton, C.G.: Deterministic sorting in nearly logarithmic time on the hypercube and related computers. J. Computer and System Sciences 47, 501–548 (1993)CrossRefzbMATHMathSciNetGoogle Scholar
  5. 5.
    Dragan, F.F., Köhler, E.: An approximation algorithm for the tree t-spanner problem on unweighted graphs via generalized chordal graphs. In: Goldberg, L.A., Jansen, K., Ravi, R., Rolim, J.D.P. (eds.)APPROX/RANDOM 2011. LNCS, vol. 6845, pp. 171–183. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  6. 6.
    Emek, Y., Peleg, D.: Approximating minimum max-stretch spanning trees on unweighted graphs. SIAM J. Computing 38, 1761–1781 (2008)CrossRefzbMATHMathSciNetGoogle Scholar
  7. 7.
    Heath, L.S., Vergara, J.P.C.: Sorting by short swaps. J. Computational Biology 10, 775–789 (2003)CrossRefGoogle Scholar
  8. 8.
    Jerrum, M.R.: The complexity of finding minimum-length generator sequence. Theoretical Computer Science 36, 265–289 (1985)CrossRefzbMATHMathSciNetGoogle Scholar
  9. 9.
    Knuth, D.E. (ed.): Axioms and Hulls. LNCS, vol. 606. Springer, Heidelberg (1992)zbMATHGoogle Scholar
  10. 10.
    Knuth, D.E.: The Art of Computer Programming, 2nd edn., vol. 3. Addison-Wesley (1998)Google Scholar
  11. 11.
    Manivel, L.: Symmetric Functions, Schubert Polynomials and Degeneracy Loci. American Mathematical Society (2001)Google Scholar
  12. 12.
    Thompson, C.D., Kung, H.T.: Sorting on a mesh-connected parallel computer. Communications ACM 20, 263–271 (1977)CrossRefzbMATHMathSciNetGoogle Scholar
  13. 13.
    Yamanaka, K., Nakano, S., Matsui, Y., Uehara, R., Nakada, K.: Efficient enumeration of all ladder lotteries and its application. Theoretical Computer Science 411, 1714–1722 (2010)CrossRefzbMATHMathSciNetGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Katsuhisa Yamanaka
    • 1
  • Erik D. Demaine
    • 2
  • Takehiro Ito
    • 3
  • Jun Kawahara
    • 4
  • Masashi Kiyomi
    • 5
  • Yoshio Okamoto
    • 6
  • Toshiki Saitoh
    • 7
  • Akira Suzuki
    • 3
  • Kei Uchizawa
    • 8
  • Takeaki Uno
    • 9
  1. 1.Iwate UniversityJapan
  2. 2.Massachusetts Institute of TechnologyUSA
  3. 3.Tohoku UniversityJapan
  4. 4.Nara Institute of Science and TechnologyJapan
  5. 5.Yokohama City UniversityJapan
  6. 6.University of Electro-CommunicationsJapan
  7. 7.Kobe UniversityJapan
  8. 8.Yamagata UniversityJapan
  9. 9.National Institute of InformaticsJapan

Personalised recommendations