Skip to main content

Showing 1–5 of 5 results for author: Pivoteau, C

Searching in archive cs. Search in all archives.
.
  1. arXiv:2503.13694  [pdf, other

    cs.DS

    Branch Prediction Analysis of Morris-Pratt and Knuth-Morris-Pratt Algorithms

    Authors: Cyril Nicaud, Carine Pivoteau, Stéphane Vialette

    Abstract: We analyze the classical Morris-Pratt and Knuth-Morris-Pratt pattern matching algorithms through the lens of computer architecture, investigating the impact of incorporating a simple branch prediction mechanism into the model of computation. Assuming a fixed pattern and a random text, we derive precise estimates of the number of mispredictions these algorithms produce using local predictors. Our a… ▽ More

    Submitted 17 March, 2025; originally announced March 2025.

    Comments: 22 pages, 15 figures

  2. arXiv:2409.01692  [pdf, other

    math.PR cs.DM math.CO

    Record-biased permutations and their permuton limit

    Authors: Mathilde Bouvel, Cyril Nicaud, Carine Pivoteau

    Abstract: In this article, we study a non-uniform distribution on permutations biased by their number of records that we call \emph{record-biased permutations}. We give several generative processes for record-biased permutations, explaining also how they can be used to devise efficient (linear) random samplers. For several classical permutation statistics, we obtain their expectation using the above generat… ▽ More

    Submitted 3 September, 2024; originally announced September 2024.

  3. arXiv:1805.08612  [pdf, ps, other

    cs.DS

    On the Worst-Case Complexity of TimSort

    Authors: Nicolas Auger, Vincent Jugé, Cyril Nicaud, Carine Pivoteau

    Abstract: TimSort is an intriguing sorting algorithm designed in 2002 for Python, whose worst-case complexity was announced, but not proved until our recent preprint. In fact, there are two slightly different versions of TimSort that are currently implemented in Python and in Java respectively. We propose a pedagogical and insightful proof that the Python version runs in $\mathcal{O}(n\log n)$. The approach… ▽ More

    Submitted 7 July, 2019; v1 submitted 22 May, 2018; originally announced May 2018.

  4. arXiv:1605.02905  [pdf, other

    cs.DM

    Analysis of Algorithms for Permutations Biased by Their Number of Records

    Authors: Nicolas Auger, Mathilde Bouvel, Cyril Nicaud, Carine Pivoteau

    Abstract: 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 $θ$ for records on permutations: the weight $θ^r$ of a permutation depends on its number $r$ of records. We show that this model is meaningful for th… ▽ More

    Submitted 10 May, 2016; originally announced May 2016.

  5. arXiv:1506.00868  [pdf, other

    math.CO cs.DM

    An algorithm computing combinatorial specifications of permutation classes

    Authors: Frédérique Bassino, Mathilde Bouvel, Adeline Pierrot, Carine Pivoteau, Dominique Rossin

    Abstract: This article presents a methodology that automatically derives a combinatorial specification for a permutation class C, given its basis B of excluded patterns and the set of simple permutations in C, when these sets are both finite. This is achieved considering both pattern avoidance and pattern containment constraints in permutations. The obtained specification yields a system of equations satisf… ▽ More

    Submitted 31 October, 2016; v1 submitted 2 June, 2015; originally announced June 2015.

    Comments: Version 2, incorporating suggestions of anonymous referees