|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Top-down splay tree implementation (without rank support). More...
Go to the source code of this file.
Classes | |
| class | GenTdSplayTree< NodeType, Key, Compare > |
| Top-down splay tree - Self-adjusting BST with amortized O(log n) operations. More... | |
| struct | GenTdSplayTree< NodeType, Key, Compare >::Iterator |
| Iterator over the nodes. More... | |
| struct | Splay_Tree< Key, Compare > |
| struct | Splay_Tree_Vtl< Key, Compare > |
Top-down splay tree implementation (without rank support).
This file provides Splay_Tree, a self-adjusting binary search tree that moves accessed nodes to the root via rotations (splaying). This provides amortized O(log n) performance and excellent cache locality for frequently accessed items.
Definition in file tpl_splay_tree.H.