Skip to content
naulon
Not checkedNot checked for notices yet.

O(1) Reversible Tree Navigation Without Cycles

Richard A. O'Keefe

Theory and Practice of Logic Programming, vol. 1, no. 5, 2001 · 2004

We email you when a new notice or a question about this paper appears.

Abstract

Imperative programmers often use cyclically linked trees in order to achieve O(1) navigation time to neighbours. Some logic programmers believe that cyclic terms are necessary to achieve the same in logic-based languages. An old but little-known technique provides O(1) time and space navigation without cyclic links, in the form of reversible predicates. A small modification provides O(1) amortised time and space editing.

Abstract licence: CC0

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.