Analysis of Algorithms for Listing Equivalence Classes of k -ary Strings. Proskurowski, A., Ruskey, F., & Smith, M. SIAM Journal on Discrete Mathematics, 11(1):94--109, Society for Industrial and Applied Mathematics, February, 1998.
Analysis of Algorithms for Listing Equivalence Classes of k -ary Strings [link]Paper  doi  abstract   bibtex   
We give efficient algorithms for listing equivalence classes of k-ary strings under reversal and permutation of alphabet symbols. As representative of each equivalence class, we choose that string which is lexicographically smallest. These algorithms use space O(n) and time \$O(\backslash sqrt\k\ N)\$, where N is the total number of strings generated and n is the length of each string. For k = 2, we obtain a recursive decomposition of the set of binary strings that allows the strings to be generated without rejecting any strings. For \$k \backslash ge 3\$, some strings must be rejected. The algorithm is simple but its exact analysis is rather complicated. In the analysis we determine a quantity of independent interest---the average length of the common prefix of two randomly chosen infinite length "restricted-growth" strings.
@article{ Proskurowski1998,
  abstract = {We give efficient algorithms for listing equivalence classes of k-ary strings under reversal and permutation of alphabet symbols. As representative of each equivalence class, we choose that string which is lexicographically smallest. These algorithms use space O(n) and time \$O(\backslash sqrt\{k\} N)\$, where N is the total number of strings generated and n is the length of each string. For k = 2, we obtain a recursive decomposition of the set of binary strings that allows the strings to be generated without rejecting any strings. For \$k \backslash ge 3\$, some strings must be rejected. The algorithm is simple but its exact analysis is rather complicated. In the analysis we determine a quantity of independent interest---the average length of the common prefix of two randomly chosen infinite length "restricted-growth" strings.},
  author = {Proskurowski, Andrzej and Ruskey, Frank and Smith, Malcolm},
  doi = {10.1137/S0895480192234009},
  file = {:Users/KunihiroWASA/Dropbox/paper/1998/Proskurowski, Ruskey, Smith, Analysis of Algorithms for Listing Equivalence Classes of k -ary Strings, 1998.pdf:pdf},
  issn = {0895-4801},
  journal = {SIAM Journal on Discrete Mathematics},
  keywords = {05A15,05C30,60J10,68Q25,68R05,68R15,Stirling numbers,combinatorial generation,k-ary strings,k-paths,restricted growth function},
  language = {en},
  month = {February},
  number = {1},
  pages = {94--109},
  publisher = {Society for Industrial and Applied Mathematics},
  title = {{Analysis of Algorithms for Listing Equivalence Classes of k -ary Strings}},
  url = {http://epubs.siam.org/doi/abs/10.1137/S0895480192234009},
  volume = {11},
  year = {1998}
}

Downloads: 0