Key-independent optimality

Key-independent optimality is a property of some binary search tree data structures in computer science proposed by John Iacono.[1] Suppose that key-value pairs are stored in a data structure, and that the keys have no relation to their paired values. A data structure has key-independent optimality if, when randomly assigning the keys, the expected performance of the data structure is within a constant factor of the optimal data structure. Key-independent optimality is related to dynamic optimality.

Definitions

There are many binary search tree algorithms that can look up a sequence of keys , where each is a number between and . For each sequence , let be the fastest binary search tree algorithm that looks up the elements in in order. Let be one of the possible permutation of the sequence , chosen at random, where is the th entry of . Let . Iacono defined, for a sequence , that .

A data structure has key-independent optimality if it can lookup the elements in in time .

Relationship with other bounds

Key-independent optimality has been proved to be asymptotically equivalent to the working set theorem. Splay trees are known to have key-independent optimality.

gollark: Also, many modern discoveries are basically impossible without stuff like "laboratories" and "full-time scientists" and supply chains providing the stuff they need.
gollark: As you go over that you probably have to keep adopting more and more norms and then guidelines and then rules and then laws to keep stuff coordinated.
gollark: Consider a silicon fab, which is used to make computer chips we need. That requires billions of $ in capital and thousands of people and probably millions more in supply chains.
gollark: Also, what do you mean "so what"? Technological progress directly affects standards of living.
gollark: ... that makes no sense that wouldn't even work.

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.