2011
DOI: 10.1007/978-3-642-25011-8_15
|View full text |Cite
|
Sign up to set email alerts
|

Ranking and Loopless Generation of k-ary Dyck Words in Cool-lex Order

Abstract: Abstract. A binary string B of length n = kt is a k-ary Dyck word if it contains t copies of 1, and the number of 0s in every prefix of B is at most k−1 times the number of 1s. We provide two loopless algorithms for generating k-ary Dyck words in cool-lex order: (1) The first requires two index variables and assumes k is a constant; (2) The second requires t index variables and works for any k. We also efficiently rank k-ary Dyck words in cool-lex order. Our results generalize the "coolCat" algorithm by Ruskey… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
3
0

Year Published

2012
2012
2022
2022

Publication Types

Select...
2
1

Relationship

1
2

Authors

Journals

citations
Cited by 3 publications
(3 citation statements)
references
References 7 publications
(14 reference statements)
0
3
0
Order By: Relevance
“…The two cases have very similar proofs, and the proof for k-ary Dyck words appeared in [5]; we prove the result only for 1/k-ary Dyck words. L = d k (t) is a bubble language by Lemma 1 (and [18]); Theorem 1 implies that it is generated in cool-lex order by the successor algorithm in Table 2.…”
Section: Successor Algorithms For Dyck Wordsmentioning
confidence: 86%
See 2 more Smart Citations
“…The two cases have very similar proofs, and the proof for k-ary Dyck words appeared in [5]; we prove the result only for 1/k-ary Dyck words. L = d k (t) is a bubble language by Lemma 1 (and [18]); Theorem 1 implies that it is generated in cool-lex order by the successor algorithm in Table 2.…”
Section: Successor Algorithms For Dyck Wordsmentioning
confidence: 86%
“…A preliminary version of this article by Durocher, Li, Mondal, and Williams [5] used the unaltered version of cool-lex order and obtained weaker results. In particular, the preliminary loopless algorithm for D k (t) required an additional array of t index variables and two more if-statements.…”
Section: Cool-lex For D 3 (4)mentioning
confidence: 90%
See 1 more Smart Citation