Binary Search Trees, Recurrent Properties andWave Equations

  • Authors:
  • María-Inés Fernández-Camacho;José-Ramón Sánchez-Couso

  • Affiliations:
  • Dpto. Sistemas Informáticos y Computación, Facultad CC. Matemáticas, Universidad Complutense. 28040 Madrid, Spain. E-mail: minesfc@sip.ucm.es;Dpto. de Lenguajes, Proyectos y Sistemas Informáticos, E.U. de Informática, Universidad Politécnica (UPM), Crta. Valencia Km. 7. 28031 Madrid, Spain. E-mail: jcouso@eui.upm.es

  • Venue:
  • Fundamenta Informaticae
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We give a generic framework to analyze the average-case running time for computing the so called recurrent properties for pairs of binary search trees. Recurrent properties are algorithms that operate on pairs of trees testing some characteristic on nodes by performing a preorder traversal on both trees. Analysis of recurrent properties using the probability model associated with randomly grown binary search trees leads to wave equations. We use a "normalized" integral equation as a pattern to model a specific wave equation and investigate the asymptotic behavior of its solution. This methodology is applied to some particular cases of recurrent properties like testing equality, detecting direct occurrences and clashes or pattern matching.