Génération de Chemins de Dyck à pics croissants

  • Authors:
  • Jean-Guy Penaud;Olivier Roques

  • Affiliations:
  • LaBRI, Université Bordeaux 1, 351 cours de la Libération, F-33405 Talence Cedex, France;LaBRI, Université Bordeaux 1, 351 cours de la Libération, F-33405 Talence Cedex, France

  • Venue:
  • Discrete Mathematics
  • Year:
  • 2002

Quantified Score

Hi-index 0.05

Visualization

Abstract

The main result of this paper is an algorithm which generates uniformly at random a Dyck path with increasing peaks, in quasi-linear time. First, we show that the ratio between the number of Dyck paths with decreasing valleys and the number of Dyck paths with increasing peaks, of a given size, tends to a constant c = 2, 303727 .... Then, we give an algorithm for the generation of Dyck paths with decreasing valleys by coding these paths with words of a rational language. This leads to a reject algorithm for the generation of Dyck paths with increasing peaks, with less than three failures, in average.