A linear algorithm for the random sampling from regular languages (Q2428675): Difference between revisions

From MaRDI portal
Changed an Item
ReferenceBot (talk | contribs)
Changed an Item
 
(2 intermediate revisions by 2 users not shown)
Property / MaRDI profile type
 
Property / MaRDI profile type: MaRDI publication profile / rank
 
Normal rank
Property / full work available at URL
 
Property / full work available at URL: https://doi.org/10.1007/s00453-010-9446-5 / rank
 
Normal rank
Property / OpenAlex ID
 
Property / OpenAlex ID: W2001959333 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Random generation of trees and other combinatorial objects / rank
 
Normal rank
Property / cites work
 
Property / cites work: ECO:a methodology for the enumeration of combinatorial objects / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q3619797 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Uniform random generation of words of rational languages / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4524575 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Uniform random generation of decomposable structures using floating-point arithmetic / rank
 
Normal rank
Property / cites work
 
Property / cites work: Boltzmann Samplers for the Random Generation of Combinatorial Structures / rank
 
Normal rank
Property / cites work
 
Property / cites work: A calculus for the random generation of labelled combinatorial structures / rank
 
Normal rank
Property / cites work
 
Property / cites work: Uniform random sampling of planar graphs in linear time / rank
 
Normal rank
Property / cites work
 
Property / cites work: Random generation of words in an algebraic language in linear binary space / rank
 
Normal rank
Property / cites work
 
Property / cites work: Uniform Random Generation of Strings in a Context-Free Language / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4886090 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q5585021 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Generating words in a context-free language uniformly at random / rank
 
Normal rank
Property / cites work
 
Property / cites work: Mersenne twister / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q3932310 / rank
 
Normal rank

Latest revision as of 03:37, 5 July 2024

scientific article
Language Label Description Also known as
English
A linear algorithm for the random sampling from regular languages
scientific article

    Statements

    A linear algorithm for the random sampling from regular languages (English)
    0 references
    0 references
    0 references
    0 references
    26 April 2012
    0 references
    The article discusses selecting a word of a given length out of all words in a given regular language uniformly at random. This problem is also known as the random sampling problem for regular languages and has received some attention already. The previously fastest algorithm for this problem is presented in [\textit{A. Denise} and \textit{P. Zimmermann}, Theor. Comput. Sci. 218, No. 2, 233--248 (1999; Zbl 0933.68154)] and uses a floating-point representation together with the standard recursive generation algorithm [\textit{A. Nijenhuis} and \textit{H. S. Wilf}, Combinatorial algorithms. New York etc.: Academic Press (1975; Zbl 0343.68004)] which counts the number of words of a given length. The current contribution applies the same floating-point representation to a divide-and-conquer base scheme to obtain expected linear time complexity in the given length~\(n\), which improves the previously best expected run-time of~\(O(n \log n)\). In addition, the space complexity is improved from~\(O(n \log n)\) for preprocessing and worst-case~\(O(n^2)\) at run-time to \(O((\log n)^2)\) for preprocessing and worst-case~\(O(n)\) at run-time. Thus, the first linear algorithm for the random sampling problem from regular languages is obtained. The paper is well written and very understandable. All notions are carefully explained and the text can be understood even by non-experts and even without reference to the previous literature. The theoretical development is supplemented by a careful discussion of implementation issues and presents experimental results that support the main claim of superiority over the existing solutions.
    0 references
    0 references
    combinatorial algorithm
    0 references
    random sampling
    0 references
    regular language
    0 references
    divide-and-conquer
    0 references
    0 references