On the List Update Problem



Ähnliche Dokumente
Integer Convex Minimization in Low Dimensions

Funktion der Mindestreserve im Bezug auf die Schlüsselzinssätze der EZB (German Edition)

Efficient Design Space Exploration for Embedded Systems

Research Collection. Backward stochastic differential equations with super-quadratic growth. Doctoral Thesis. ETH Library. Author(s): Bao, Xiaobo

Im Fluss der Zeit: Gedanken beim Älterwerden (HERDER spektrum) (German Edition)

Handbuch der therapeutischen Seelsorge: Die Seelsorge-Praxis / Gesprächsführung in der Seelsorge (German Edition)

ANALYSIS AND SIMULATION OF DISTRIBUTION GRIDS WITH PHOTOVOLTAICS

Group signature schemes and payment systems based on the discrete logarithm problem

Wer bin ich - und wenn ja wie viele?: Eine philosophische Reise. Click here if your download doesn"t start automatically

Was heißt Denken?: Vorlesung Wintersemester 1951/52. [Was bedeutet das alles?] (Reclams Universal-Bibliothek) (German Edition)

Aus FanLiebe zu Tokio Hotel: von Fans fã¼r Fans und ihre Band

Number of Maximal Partial Clones

Die einfachste Diät der Welt: Das Plus-Minus- Prinzip (GU Reihe Einzeltitel)

DIBELS TM. German Translations of Administration Directions

Group and Session Management for Collaborative Applications

BATCH-WISE CHEMICAL PLANTS

Challenges for the future between extern and intern evaluation

Fußballtraining für jeden Tag: Die 365 besten Übungen (German Edition)

Application-specific processor for MIMO-OFDM software-defined radio

Magic Figures. We note that in the example magic square the numbers 1 9 are used. All three rows (columns) have equal sum, called the magic number.

Finite Difference Method (FDM)

Ein Stern in dunkler Nacht Die schoensten Weihnachtsgeschichten. Click here if your download doesn"t start automatically

Level 1 German, 2012

There are 10 weeks this summer vacation the weeks beginning: June 23, June 30, July 7, July 14, July 21, Jul 28, Aug 4, Aug 11, Aug 18, Aug 25

Sinn und Aufgabe eines Wissenschaftlers: Textvergleich zweier klassischer Autoren (German Edition)

EVANGELISCHES GESANGBUCH: AUSGABE FUR DIE EVANGELISCH-LUTHERISCHE LANDESKIRCHE SACHSEN. BLAU (GERMAN EDITION) FROM EVANGELISCHE VERLAGSAN

The English Tenses Die englischen Zeitformen

A dissertation submitted to ETH ZURICH. for the degree of Doctor of Sciences. presented by ALEXANDER SCHILLING Dipl. Masch.-Ing.

PELTIER-HOCHLEISTUNGSMODULE

Die Bedeutung neurowissenschaftlicher Erkenntnisse für die Werbung (German Edition)

Wie man heute die Liebe fürs Leben findet

Binary adder architectures for cell-based VLSI and their synthesis

Large-Scale Mining and Retrieval of Visual Data in a Multimodal Context

Weather forecast in Accra

PONS DIE DREI??? FRAGEZEICHEN, ARCTIC ADVENTURE: ENGLISCH LERNEN MIT JUSTUS, PETER UND BOB

Web-Apps mit jquery Mobile: Mobile Multiplattform-Entwicklung mit HTML5 und JavaScript (German Edition)

DAS ZUFRIEDENE GEHIRN: FREI VON DEPRESSIONEN, TRAUMATA, ADHS, SUCHT UND ANGST. MIT DER BRAIN-STATE-TECHNOLOGIE DAS LEBEN AUSBALANCIEREN (GE

Stress-related problems in process simulation

Martin Luther. Click here if your download doesn"t start automatically

Algorithm Theory 3 Fast Fourier Transformation Christian Schindelhauer

Selbstbild vs. Fremdbild. Selbst- und Fremdwahrnehmung des Individuums (German Edition)

Englisch-Grundwortschatz

Research Collection. Real-time multi-object tracking. Doctoral Thesis. ETH Library. Author(s): Roth, Daniel Eugen. Publication Date: 2010

DAS ERSTE MAL UND IMMER WIEDER. ERWEITERTE SONDERAUSGABE BY LISA MOOS

Reparaturen kompakt - Küche + Bad: Waschbecken, Fliesen, Spüle, Armaturen, Dunstabzugshaube... (German Edition)

Research Collection. Security econometrics The dynamics of (in)security. Doctoral Thesis. ETH Library. Author(s): Frei, Stefan. Publication Date: 2009

Ausführliche Unterrichtsvorbereitung: Der tropische Regenwald und seine Bedeutung als wichtiger Natur- und Lebensraum (German Edition)

ATOMABSORPTIONSSPEKTROMETRIE (GERMAN EDITION) BY BERNHARD WELZ, MICHAEL SPERLING

Geometrie und Bedeutung: Kap 5

Level 1 German, 2014

Der Topos Mütterlichkeit am Beispiel Bertolt Brechts "Der kaukasische Kreidekreis" und "Mutter Courage und ihre Kinder" (German Edition)

Konkret - der Ratgeber: Die besten Tipps zu Internet, Handy und Co. (German Edition)

Unit 1. Motivation and Basics of Classical Logic. Fuzzy Logic I 6

Rev. Proc Information

CALCULATING KPI QUANTITY-INDEPENDENT ROUTE TIME

Die UN-Kinderrechtskonvention. Darstellung der Bedeutung (German Edition)

Sagen und Geschichten aus dem oberen Flöhatal im Erzgebirge: Pfaffroda - Neuhausen - Olbernhau - Seiffen (German Edition)

PONS DIE DREI??? FRAGEZEICHEN, ARCTIC ADVENTURE: ENGLISCH LERNEN MIT JUSTUS, PETER UND BOB

Mercedes OM 636: Handbuch und Ersatzteilkatalog (German Edition)

Cycling. and / or Trams

Hardwarekonfiguration an einer Siemens S7-300er Steuerung vornehmen (Unterweisung Elektriker / - in) (German Edition)

Soll der Staat aktiv Innovationen fördern? Das Beispiel Airbus A400M

Privatverkauf von Immobilien - Erfolgreich ohne Makler (German Edition)

Simulation of Power System Dynamics using Dynamic Phasor Models

Ethical Banking Professional Biography and Distancing in Banking and Finance

Die Intrige: Historischer Roman (German Edition)

Tourismus in ländlichen Räumen der Entwicklungsländer: Chancen und Risiken (German Edition)

Analysis Add-On Data Lineage

Cycling and (or?) Trams

Flow - der Weg zum Glück: Der Entdecker des Flow-Prinzips erklärt seine Lebensphilosophie (HERDER spektrum) (German Edition)

TO WHOM IT MAY CONCERN / TRANSCRIPT OF RECORDS

NOREA Sprachführer Norwegisch: Ein lustbetonter Sprachkurs zum Selbstlernen (German Edition)

Elementary Intensive Reading I German UN1113 Fall 2017

Chronologische Übersicht der Veröffentlichungen der Biofrontera AG zur Forschungskooperation mit Maruho (Stand: )

Accelerating Information Technology Innovation

Test automation for database management systems and database applications

Duell auf offener Straße: Wenn sich Hunde an der Leine aggressiv verhalten (Cadmos Hundebuch) (German Edition)

ETHISCHES ARGUMENTIEREN IN DER SCHULE: GESELLSCHAFTLICHE, PSYCHOLOGISCHE UND PHILOSOPHISCHE GRUNDLAGEN UND DIDAKTISCHE ANSTZE (GERMAN

Soziale Arbeit mit rechten Jugendcliquen: Grundlagen zur Konzeptentwicklung (German Edition)

LEBEN OHNE REUE: 52 IMPULSE, DIE UNS DARAN ERINNERN, WAS WIRKLICH WICHTIG IST (GERMAN EDITION) BY BRONNIE WARE

Introduction FEM, 1D-Example

Jägersprache, Wildkunde und Begriffe aus der Jagd: Schwerpunkt Jägerprüfung Rotwild, Rehwild, Gamswild, Steinwild, Muffelwild (German Edition)

Analyse und Interpretation der Kurzgeschichte "Die Tochter" von Peter Bichsel mit Unterrichtsentwurf für eine 10. Klassenstufe (German Edition)

Vegane Ernährung bei Säuglingen und Kindern (German Edition)

Diabetes zu heilen natürlich: German Edition( Best Seller)

Transkript:

DISS. ETH No. 14529, 2002 On the List Update Problem A dissertation submitted to the Swiss Federal Institute of Technology, ETH Zürich for the degree of Doctor of Technical Sciences presented by Christoph Ambühl Dipl. Informatik-Ing. ETH born 15.9.1973, citizen of Willisau-Stadt, Switzerland accepted on the recommendation of Prof. Dr. Emo Welzl, ETH Zürich, examiner Prof. Dr. Susanne Albers, Universität Freiburg i.b., co examiner Dr. habil. Bernhard von Stengel, London School of Economics, co examiner

i Abstract An unsorted linear list is one of the simplest data structures on which one can perform insertions, deletions and lookups. To perform a lookup, the list has to be traversed linearly until the requested item is found. The performance of this data structure can be enhanced by making it self-organizing. In general, the most recently requested item will be moved closer to the front of the list. This is motivated by the empirical observation that, in many cases, requests to items are clustered over time. An algorithm that updates the list based on the current and past requests is called a list update algorithm. These algorithms are called online since they do not know what the forthcoming requests will be. A very simple algorithm is called MOVE TO FRONT (MTF). Here, the most recently requested item is moved to the front just after the lookup. In 1985, Sleator and Tarjan proved 2-competitiveness of MTF which is defined as follows: For any sequence of requests, the running time of MTF is at most twice the running time of the optimal offline algorithm OPT. Compared to online algorithms, offline algorithms are therefore more powerful since they know the whole request sequence in advance. Using randomized techniques, one can find algorithms which are even more competitive. The best algorithm known to date is the -competitive COMB algorithm due to Albers, von Stengel, and Werchner. It is known that no algorithm can be better than -competitive. The ultimate goal is, of course, to find the optimally competitive list update algorithm. All results in this thesis are aimed to give more insight into the structure of the list update problem. The first result shows that, in the partial cost model, no algorithm can be better than -competitive. This is the first non-trivial lower bound in this model. The partial cost model is much easier to analyze. Furthermore, any -competitive algorithm in the partial cost model is also -competitive in the standard model. The second result gives a characterization of all projective algorithms.

ii They are basically the only kind of algorithms which can be analyzed so far. To prove that a projective algorithm is -competitive, one only has to prove this on lists with two items which is, of course, much easier. Using this characterization, we give a matching lower bound for projective algorithms in the partial cost model. The third result shows that it is -hard to compute OPT. Hence, there is probably no efficient implementation of OPT. Furthermore, there is only little hope that a better understanding of OPT might give new insights into the list update problem.

iii Zusammenfassung Unsortierte lineare Listen gehören zu den einfachsten Datenstrukturen, auf denen sich die Operationen Einfügen, Löschen und Suchen ausführen lassen. Um ein Element in der Liste zu finden muss diese linear durchsucht werden, bis man auf das gesuchte Element stösst. Die Effizienz kann gesteigert werden, indem man die Elemente in der Liste immer wieder umordnet. Man spricht von selbstorganisierenden Datenstrukturen. Im Allgemeinen wird das gerade angefragte Element in der Liste weiter nach vorne verschoben, da in vielen praktischen Anwendungen die Anfragen auf die Elemente zeitlich gehäuft sind. Wir bezeichnen einen Algorithmus, welcher die Liste umordnet, als list update Algorithmus. Es handelt sich hier um online Algorithmen, da der Algorithmus die zukünftigen Anfragen an die Datenstruktur nicht kennt. MOVE TO FRONT (MTF) gehört zu den einfachsten Algorithmen. Bei jeder Anfrage wird das angefragte Element an den Anfang der Liste verschoben. Sleator und Tarjan zeigten 1985, dass MTF 2-kompetitiv ist. Dies bedeutet, dass für jede Sequenz von Operationen die Laufzeit von MTF höchstens doppelt so lang ist wie die Laufzeit des optimalen offline Algorithmus OPT. Im Gegensatz zu online Algorithmen kennen offline Algorithmen die gesamte Sequenz von Beginn weg und sind damit sogar mächtiger als online Algorithmen. Der beste bekannte Algorithmus ist der -kompetitive COMB (Albers, von Stengel, Werchner). Weiter ist bekannt, dass kein Algorithmus besser als -kompetitiv sein kann. Das Hauptziel des list update problems besteht darin, den besten Algorithmus zu finden. Das erste Resultat der Arbeit zeigt, dass kein Algorithmus im Modell besser als -kompetitiv sein kann. Dies ist die erste nicht triviale untere Schranke in diesem Modell. Im Modell kostet ein Zugriff auf das te Elemement der Liste nur Zeiteinheiten, während im standard Modell dafür Einheiten bezahlt werden müssen. Im Modell lassen sich Algorithmen einfacher analysieren und die Analysen lassen sich dann direkt auf das standard Modell übertragen.

iv Als zweites Resultat werden alle projektiven Algorithmen charakterisiert. Bis auf eine Ausnahme gehören alle bis jetzt analysierten Algorithmen zu dieser Klasse. Um zu zeigen, dass ein projektiver Algorithmus -kompetitiv ist, reicht es zu zeigen, dass er dies auf Listen mit nur zwei Elementen ist. Dies ist natürlich viel einfacher als im allgemeinen Fall. Mit Hilfe dieser Charakterisierung wird sodann eine untere Schranke von! für die Kompetitivität von projektiven Algorithmen gezeigt. COMB ist also ein optimaler projektiver Algorithmus. Im letzten Kapitel wird gezeigt, es die Berechnung der optimalen offline Kosten ein "# -hartes Problem darstellt. Dies bedeutet, dass wahrscheinlich kein effizienter Algorithmus dafür exisitert. Es besteht damit wenig Hoffnung, dass ein besseres Verständnis von OPT zu effizienteren online Algorithmen führen würde.