Finger tree - Wikipedia, the free encyclopedia

CentralNotice Finger tree From Wikipedia, the free encyclopedia Jump to: navigation , search For the binary search tree, see finger search tree . A finger tree is a purely functional data structure used in efficiently implementing other functional data structures. A finger tree gives amortized constant time access to the "fingers" (leaves) of the tree, where data is stored, and also stores in each internal node the result of applying some associative operation to its descendants. This "summary" data stored in the internal nodes can be used to provide the functionality of data structures other than trees. For example, a priority queue can be implemented by labeling the internal nodes by the minimum priority of its children in the tree, or an indexed list/array can be implemented with a labeling of nodes by the count of the leaves in their children. Finger trees can pro...

Linked on 2014-11-17 23:30:45 | Similar Links