Back to Search Start Over

Finger trees: a simple general-purpose data structure.

Authors :
RALF HINZE
ROSS PATERSON
Source :
Journal of Functional Programming; Mar2006, Vol. 16 Issue 2, p197-217, 21p
Publication Year :
2006

Abstract

We introduce 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in amortized constant time, and concatenation and splitting in time logarithmic in the size of the smaller piece. Representations achieving these bounds have appeared previously, but 2-3 finger trees are much simpler, as are the operations on them. Further, by defining the split operation in a general form, we obtain a general purpose data structure that can serve as a sequence, priority queue, search tree, priority search queue and more. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
09567968
Volume :
16
Issue :
2
Database :
Complementary Index
Journal :
Journal of Functional Programming
Publication Type :
Academic Journal
Accession number :
19576812