Counting occurrences for a finite set of words: an inclusion-exclusion approach
-
Published:2007-01-01
Issue:Proceedings
Volume:DMTCS Proceedings vol. AH,...
Page:
-
ISSN:1365-8050
-
Container-title:Discrete Mathematics & Theoretical Computer Science
-
language:en
-
Short-container-title:
Author:
Bassino Frédérique,Clément Julien,Fayolle J.,Nicodème P.
Abstract
International audience
In this paper, we give the multivariate generating function counting texts according to their length and to the number of occurrences of words from a finite set. The application of the inclusion-exclusion principle to word counting due to Goulden and Jackson (1979, 1983) is used to derive the result. Unlike some other techniques which suppose that the set of words is reduced (<i>i..e.</i>, where no two words are factor of one another), the finite set can be chosen arbitrarily. Noonan and Zeilberger (1999) already provided a MAPLE package treating the non-reduced case, without giving an expression of the generating function or a detailed proof. We give a complete proof validating the use of the inclusion-exclusion principle and compare the complexity of the method proposed here with the one using automata for solving the problem.
Publisher
Centre pour la Communication Scientifique Directe (CCSD)
Subject
Discrete Mathematics and Combinatorics,General Computer Science,Theoretical Computer Science
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Successions in Words and Compositions;Annals of Combinatorics;2012-01-26