Finger Trees (Q7361172)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

AFP entry Finger-Trees
Language Label Description Also known as
default for all languages
No label defined
    English
    Finger Trees
    AFP entry Finger-Trees

      Statements

      28 October 2010
      0 references
      Benedikt Nordhoff
      0 references
      Stefan Körner
      0 references
      Peter Lammich
      0 references
      Finger Trees (English)
      0 references
      We implement and prove correct 2-3 finger trees. Finger trees are a general purpose data structure, that can be used to efficiently implement other data structures, such as priority queues. Intuitively, a finger tree is an annotated sequence, where the annotations are elements of a monoid. Apart from operations to access the ends of the sequence, the main operation is to split the sequence at the point where a monotone predicate over the sum of the left part of the sequence becomes true for the first time. The implementation follows the paper of Hinze and Paterson. The code generator can be used to get efficient, verified code.
      0 references