Culminating paths - Archive ouverte HAL Access content directly
Journal Articles Discrete Mathematics and Theoretical Computer Science Year : 2008

Culminating paths


Let a and b be two positive integers. A culminating path is a path of Z^2 that starts from (0,0), consists of steps (1,a) and (1,-b), stays above the x-axis and ends at the highest ordinate it ever reaches. These paths were first encountered in bioinformatics, in the analysis of similarity search algorithms. They are also related to certain models of Lorentzian gravity in theoretical physics. We first show that the language on a two letter alphabet that naturally encodes culminating paths is not context-free. Then, we focus on the enumeration of culminating paths. A step by step approach, combined with the kernel method, provides a closed form expression for the generating fucntion of culminating paths ending at a (generic) height k. In the case a=b, we derive from this expression the asymptotic behaviour of the number of culminating paths of length n. When a>b, we obtain the asymptotic behaviour by a simpler argument. When a= b, with no precomputation stage nor non-linear storage required. The choice of the best algorithm is not as clear when a
Fichier principal
Vignette du fichier
culminants7.pdf (389.59 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-00151979 , version 1 (05-06-2007)
hal-00151979 , version 2 (30-04-2008)



Mireille Bousquet-Mélou, Yann Ponty. Culminating paths. Discrete Mathematics and Theoretical Computer Science, 2008, 10 (2), pp.125--152. ⟨hal-00151979v2⟩
210 View
672 Download



Gmail Facebook X LinkedIn More