scispace - formally typeset
Journal ArticleDOI

Heuristics That Dynamically Organize Data Structures

James R. Bitner
- 01 Feb 1979 - 
- Vol. 8, Iss: 1, pp 82-110
Reads0
Chats0
TLDR
This work considers heuristics that dynamically alter linked lists, causing more frequently accessed keys to move nearer the “top” of the list, and shows that the move to front rule reduces the access time much more quickly than the transposition rule.
Abstract
We first consider heuristics that dynamically alter linked lists, causing more frequently accessed keys to move nearer the “top” of the list. We show that the move to front rule reduces the access time much more quickly than the transposition rule, then give a “hybrid” of these two rules which decreases the access time quickly and has low asymptotic cost. We also discuss rules that assume a counter is associated with each key. Second, we consider rules for binary search trees. The monotonic tree rule performs well only when the entropy of the probability distribution for key requests is low; otherwise, it does not reduce the access time. A final class of rules using rotations give nearly optimal performance.

read more

Citations
More filters
Journal ArticleDOI

Amortized efficiency of list update and paging rules

TL;DR: This article shows that move-to-front is within a constant factor of optimum among a wide class of list maintenance rules, and analyzes the amortized complexity of LRU, showing that its efficiency differs from that of the off-line paging rule by a factor that depends on the size of fast memory.
Journal ArticleDOI

Self-adjusting binary search trees

TL;DR: The splay tree, a self-adjusting form of binary search tree, is developed and analyzed and is found to be as efficient as balanced trees when total running time is the measure of interest.
Journal ArticleDOI

A locally adaptive data compression scheme

TL;DR: A data compression scheme that exploits locality of reference, such as occurs when words are used frequently over short intervals and then fall into long periods of disuse, is described and proves that it never performs much worse than Huffman coding and can perform substantially better.
Book

Data Structures and Algorithm Analysis in C

TL;DR: This book provides a proven approach to algorithms and data structures using the exciting Java programming language as the implementation tool and highlights conceptual topics, focusing on ADTs and the analysis of algorithms for efficiency as well as performance and running time.
Journal ArticleDOI

Birthday paradox, coupon collectors, caching algorithms and self-organizing search

TL;DR: A unified framework for the analysis of a class of random allocation processes that include the birthday paradox, the coupon collector problem, least-recently-used caching in memory management systems under the independent reference model and the move-to-front heuristic of self-organizing search is introduced.