• DocumentCode
    3769633
  • Title

    Computational complexity of inverse word search problem

  • Author

    Hiro Ito;Shinnosuke Seki

  • Author_Institution
    School of Informatics and Engineering, The University of Electro-Communications (UEC), Japan
  • fYear
    2015
  • fDate
    8/1/2015 12:00:00 AM
  • Firstpage
    1
  • Lastpage
    4
  • Abstract
    Word search is a classical puzzle to search for all given words on a given assignment of letters to a rectangular grid (matrix). This problem is clearly in P. The inverse of this problem is more difficult, which asks to assign letters in a given alphabet to a matrix of given size so that every word in a given wordset can be found horizontally, vertically, or diagonally. This problem is in NP; it admits a trivial polynomial-size certificate. We prove its NP-hardness. It turns out to be so even under the following restrictions: 1) the alphabet size is 2 (binary) and 2) all the words to be found are of length at most 2. These results are optimal in the sense that decreasing these bounds 2 to 1 makes the problem be trivially in P.
  • Publisher
    iet
  • Conference_Titel
    Operations Research and its Applications in Engineering, Technology and Management (ISORA 2015), 12th International Symposium on
  • Print_ISBN
    978-1-78561-085-1
  • Type

    conf

  • DOI
    10.1049/cp.2015.0607
  • Filename
    7456000