An Optimal Offline Algorithm for List Update

Abstract

For the static list update problem, given an ordered list 0 (an ordering of the list L = \ aa, a2, ..., al \), and a sequence σ = (σ1, σ2, ..., σm) of requests for items in L, we characterize the list reorganizations in an optimal offline solution in terms of an initial permutation of the list followed by a sequence of m element transfers, where an element transfer is a type of list reorganization where only the requested item can be moved. Then we make use of this characterization to design an O(l2 (l-1)!m) time optimal offline algorithm.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…