5,565 research outputs found

    Analysis of Algorithms for Permutations Biased by Their Number of Records

    Full text link
    The topic of the article is the parametric study of the complexity of algorithms on arrays of pairwise distinct integers. We introduce a model that takes into account the non-uniformness of data, which we call the Ewens-like distribution of parameter θ\theta for records on permutations: the weight θr\theta^r of a permutation depends on its number rr of records. We show that this model is meaningful for the notion of presortedness, while still being mathematically tractable. Our results describe the expected value of several classical permutation statistics in this model, and give the expected running time of three algorithms: the Insertion Sort, and two variants of the Min-Max search

    Limiting search cost distribution for the move-to-front rule with random request probabilities

    Get PDF
    Consider a list of nn files whose popularities are random. These files are updated according to the move-to-front rule and we consider the induced Markov chain at equilibrium. We give the exact limiting distribution of the search-cost per item as nn tends to infinity. Some examples are supplied.Comment: move-to-front, search cost, random discrete distribution, limiting distribution, size biased permutatio
    • …
    corecore