Fast algorithms to generate restricted classes of strings under rotation
A necklace is a representative of an equivalence class of k-ary strings under rotation. Efficient algorithms for generating (i.e., listing) necklaces have been known for some time. Many applications, however, require a restricted class of necklaces for which no efficient generation algorithm previou...
Main Author: | |
---|---|
Other Authors: | |
Format: | Others |
Language: | English en |
Published: |
2018
|
Subjects: | |
Online Access: | https://dspace.library.uvic.ca//handle/1828/9017 |
id |
ndltd-uvic.ca-oai-dspace.library.uvic.ca-1828-9017 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-uvic.ca-oai-dspace.library.uvic.ca-1828-90172018-01-30T09:49:52Z Fast algorithms to generate restricted classes of strings under rotation Sawada, Joseph James Ruskey, Frank Algorithms Computer programming A necklace is a representative of an equivalence class of k-ary strings under rotation. Efficient algorithms for generating (i.e., listing) necklaces have been known for some time. Many applications, however, require a restricted class of necklaces for which no efficient generation algorithm previously existed. This dissertation addresses this problem by developing fast algorithms to generate the following restricted classes of necklaces: (a) unlabeled necklaces, (b) fixed density necklaces, (c) necklaces where the number of each alphabet symbol is fixed, (d) chord diagrams, (e) necklaces which avoid a particular Lyndon substring, and (f) bracelets. An analysis for each algorithm (a), (b), (e), and (f) shows that the amount of computation is proportional to the number of strings produced. Experimental results give a strong indication that the algorithms for (c) and (d) also achieve this time bound. In addition, a new derivation of the known formula for counting chord diagrams is presented, along with a linear time algorithm to generate a basis for the n-th homogeneous component of the free Lie algebra. Graduate 2018-01-29T21:37:50Z 2018-01-29T21:37:50Z 2000 2018-01-29 Thesis https://dspace.library.uvic.ca//handle/1828/9017 English en Available to the World Wide Web application/pdf |
collection |
NDLTD |
language |
English en |
format |
Others
|
sources |
NDLTD |
topic |
Algorithms Computer programming |
spellingShingle |
Algorithms Computer programming Sawada, Joseph James Fast algorithms to generate restricted classes of strings under rotation |
description |
A necklace is a representative of an equivalence class of k-ary strings under rotation. Efficient algorithms for generating (i.e., listing) necklaces have been known for some time. Many applications, however, require a restricted class of necklaces for which no efficient generation algorithm previously existed. This dissertation addresses this problem by developing fast algorithms to generate the following restricted classes of necklaces: (a) unlabeled necklaces, (b) fixed density necklaces, (c) necklaces where the number of each alphabet symbol is fixed, (d) chord diagrams, (e) necklaces which avoid a particular Lyndon substring, and (f) bracelets. An analysis for each algorithm (a), (b), (e), and (f) shows that the amount of computation is proportional to the number of strings produced. Experimental results give a strong indication that the algorithms for (c) and (d) also achieve this time bound. In addition, a new derivation of the known formula for counting chord diagrams is presented, along with a linear time algorithm to generate a basis for the n-th homogeneous component of the free Lie algebra. === Graduate |
author2 |
Ruskey, Frank |
author_facet |
Ruskey, Frank Sawada, Joseph James |
author |
Sawada, Joseph James |
author_sort |
Sawada, Joseph James |
title |
Fast algorithms to generate restricted classes of strings under rotation |
title_short |
Fast algorithms to generate restricted classes of strings under rotation |
title_full |
Fast algorithms to generate restricted classes of strings under rotation |
title_fullStr |
Fast algorithms to generate restricted classes of strings under rotation |
title_full_unstemmed |
Fast algorithms to generate restricted classes of strings under rotation |
title_sort |
fast algorithms to generate restricted classes of strings under rotation |
publishDate |
2018 |
url |
https://dspace.library.uvic.ca//handle/1828/9017 |
work_keys_str_mv |
AT sawadajosephjames fastalgorithmstogeneraterestrictedclassesofstringsunderrotation |
_version_ |
1718612501406416896 |