Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mslapek/augmentedtree
F# library implementing immutable augmented red-black trees.
https://github.com/mslapek/augmentedtree
algorithm data-structure fsharp immutable search-trees
Last synced: 15 days ago
JSON representation
F# library implementing immutable augmented red-black trees.
- Host: GitHub
- URL: https://github.com/mslapek/augmentedtree
- Owner: mslapek
- License: gpl-3.0
- Created: 2017-05-09T08:47:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T08:47:17.000Z (over 7 years ago)
- Last Synced: 2024-11-20T15:58:48.729Z (3 months ago)
- Topics: algorithm, data-structure, fsharp, immutable, search-trees
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Augmented Tree
**AugmentedTree** is F# library implementing immutable augmented red-black trees.
The structure `AugmentedTree` is designed to be a basis for other data structures
and algorithms.All basic operations take O(log *n*) running time under some conditions
described in bibliography.## Nomenclature
**Key** is value, over which we perform search.
**Attribute** is additional value attached to node, which is function
of current node key and attributes of node children.## Bibliography
* Description of augmented search trees [(lecture)](http://www.bowdoin.edu/~ltoma/teaching/cs231/fall05/Lectures/augtrees.pdf).
* Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. 2009. *Introduction to Algorithms, Third Edition* (3rd ed.). The MIT Press. Chapter 14: Augmenting Data Structures.