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: An actual employee? No. We'll use HTech™ Personality Constructs™.
gollark: Also, to help with sleep monitoring, it will ship with an optional EEG headset.
gollark: A what? No, this is the osmarksßßsmartwatch™.
gollark: Anyway, the osmarksßßsmartwatch™ will also incorporate the latest sensor technology, like an accelerometer, a compass for some reason also, a thermometer, a barometer, a humidity sensor, a light level/UV/IR sensor, an ultrasonic distance sensor, a regular microphone, an irregular microphone, lidar, radar, an infrared thing, two incompatible software defined radios, that one weird IC some company made for some reason to detect lightning strikes nearby, a spectrometer, LEDs abused as photodetectors, a DVD player (DVDs must be shrunken or trimmed before use), a portable DNA sequencer, a multi-axis Hall effect sensor, phased array satellite transceivers, atmospheric bismuth concentration meters, an apiometer, a mouse trackball, an optical mouse (miniaturized), a full 22-key keyboard, 3 dedicated hardware buttons, a fan noise detector and estimator, and a blood oxygen concentration reader.
gollark: We'll send them cardboard models.

References

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