|
Research highlight : A NEW DICHOTOMIC ALGORITHM FOR THE UNIFORM RANDOM GENERATION OF WORDS IN REGULAR LANGUAGES |
|
|
|
|
A NEW DICHOTOMIC ALGORITHM FOR THE UNIFORM RANDOM GENERATION OF WORDS IN REGULAR LANGUAGES
16 August 2012
Johan Oudinet, Alain Denise, Marie-Claude Gaudel, Theoretical Computer Science (2012), DOI 10.1016/j.tcs.2012.07.025
|
We present a new algorithm for generating uniformly at random words of any regular language L. When using floating point arithmetics, its bit-complexity is O(qlg^2n) in space and O(qnlg^2n) in time, where n stands for the length of the word, and q stands for the number of states of a finite deterministic automaton of L. We implemented the algorithm and compared its behavior to the state-of-the-art algorithms, on a set of large automata from the VLTS benchmark suite. Both theoretical and experimental results show that our algorithm offers an excellent compromise in terms of space and time requirements, compared to the known best alternatives. In particular, it is the only method that can generate long paths in large automata.
Keyword
° Software Testing ° Algorithms
Group
° Bioinformatics ° Formal Testing and System Exploration
Contact
° DENISE Alain
|
| |
|
|
|
|