AlgorithmsPage edited by Emmanuel LécharnyChanges (10)
Full ContentLet's describe the algorithms we will implement. BTree methodsinsert() methodWhen we try to insert a tuple <K, V> into a tree, we start from the root page, which can be either a Leaf or a Node. In any case, we call the insert(K, V) method on the BTree, which will get a new revision that will become the new root if the insertion succeed. void insert(K, V) BTree.insert(key, value) : (K, V) -> V get new revision return insert(revision, key, value)
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
- [CONF] Apache Labs > Algorithms confluence
