Journal article
Counting Distinct Strings
Abstract
Abstract. This paper discusses how to count and generate strings that are ``distinct'' in two senses: p -distinct and b -distinct. Two strings x on alphabet A and x' on alphabet A' are said to be p -distinct iff they represent distinct ``patterns''; that is, iff there exists no one—one mapping from A to A' that transforms x into x' . Thus aab and baa are p -distinct while aab and ddc are p -equivalent. On the other hand, x and x' …
Authors
Moore D; Smyth WF; Miller D
Journal
Algorithmica, Vol. 23, No. 1, pp. 1–13
Publisher
Springer Nature
Publication Date
January 1999
DOI
10.1007/pl00009247
ISSN
0178-4617