Skip to main content
Log in

Trekking in the Alps Without Freezing or Getting Tired

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract.

Let F be a polyhedral terrain with n vertices. We show how to preprocess F such that for any two query points on F it can be decided whether there exists a path on F between the two points whose height decreases monotonically. More generally, the minimum total ascent or descent along any path between the two points can be computed. It is also possible to decide, given two query points and a height, whether there is a path that stays below this height. All these queries can be answered with one data structure which stores the so-called height-level map of the terrain. Although the height-level map has quadratic worst-case complexity, it is stored implicitly using only linear storage. The query time for all the above queries is \(O(\log n)\) and the structure can be built in \(O(n\log n)\) time. A path with the desired property can be reported in additional time that is linear in the description size of the path.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received January 27, 1994; revised August 6, 1995. Communciated by T. Lengauer.

Rights and permissions

Reprints and permissions

About this article

Cite this article

de Berg, M., van Kreveld, M. Trekking in the Alps Without Freezing or Getting Tired . Algorithmica 18, 306–323 (1997). https://doi.org/10.1007/PL00009159

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/PL00009159

Navigation