MetaCartSign in to MyCiteSeer

Include Citations | Advanced Search | Help

Include Citations | Advanced Search | Help

  Chapter 12 On-Line Algorithms

Download:
Download as a PDF | Download as a PS
unknown authors
http://algo.cs.pu.edu.tw/~yttsai/personal/research/online.ps
Add To MetaCart

Abstract:

In all of the previous chapters, algorithms are designed under the assumption that the whole picture of the data are available for us before the algorithm is executed. That is, problems are solved together with complete information of the data. However, this is not necessarily true in reality. Consider the disk scheduling problem. The requests of disk servers are totally unknown to the algorithm. They arrive one by one. The paging problem which occurs in operating systems design is also an on-line problem. We simply can not know which pages will be accessed before executing our programs. If the data arrive on-line, the algorithm still has to take action to take care of each datum which has just arrived. Since no complete information is available, the action may seem to be correct at this time, but may turn out to be wrong later. Thus on-line algorithms are all approximation algorithms in the sense that they can never guarantee to produce optimal solutions. Let us consider the on-line minimal spanning tree problem. In this case, we first have to drop the word "minimal " because the spanning tree will not be minimal. Thus we call the problem an on-line small spanning tree problem. An on-line algorithm to handle the situation may work as follows: Each time as a data item arrives, connect it to its nearest neighbor. Suppose that we have six points as shown in Figure 12.1. Let the data arrive in the order as specified. Thus one on-line algorithm may produce a spanning tree as shown in Figure 12.2. It is obvious that this tree is not optimal. An optimal spanning tree, constructed with full knowledge of the data, is shown in Figure 12.3. Since any on-line algorithm must be an approximation algorithm, its performance is naturally measured by comparing its result with that obtained by executing an optimal off-line algorithm. Let C onl (C off) denote the cost of executing an on-line (optimal off-line) algorithm on the same data set. If C onl f(n)C off +c where c is a constant, then we say that the performance ratio of this on-line algorithm is f(n) and this algorithm is f(n)-competitive. If f(n) can not be smaller, we say this on-line algorithm is optimal.

Citations

132 Shortest paths without a map – Papadimitriou, Yannakakis - 1991
122 Competitive algorithms for server problems – Manasse, McGeoch, et al. - 1990
102 New algorithms for an ancient scheduling problem – Bartal, Fiat, et al. - 1995
100 Dynamic Steiner tree problem – Waxman - 1991
82 An optimal algorithm for on-line bipartite matching – Karp, Vazirani, et al. - 1990
80 On the k-server conjecture – Koutsoupias, Papadimitriou - 1995
64 A better algorithm for an ancient scheduling problem – Karger, Phillips, et al. - 1996
40 On-line Steiner trees in the Euclidean plane – Alon, Azar - 1993
34 A Simple On-line Bin-Packing Algorithm – Lee, Lee - 1985
30 Online weighted matching – Kalyanasundaram, Pruhs - 1993
25 Randomized online graph coloring – Vishwanathan - 1990
15 An online algorithm for navigating in an unknown environment – Chan, Lam - 1993
14 An optimal on-line algorithm for k-servers on trees – Chrobak, Larmore - 1991
14 An on-line algorithm for variable-sized bin packing – Csirik - 1989
8 Illumination of convex discs – T'oth - 1977
7 Online matching with blocked input – Kao, Tate - 1991
6 On-line algorithms for weighted matching and stable marriages – Khuller, Mitchell, et al. - 1990
1 An optimal algorithm for metrical task systems – Bordin, Linial, et al. - 1987
1 On-line algorithms for three computational geometry problems – Chao - 1992
1 Competitive solutions for online finacial problems – El-Yaniv
1 The competitiveness of randomized algorithms for online Steiner tree and on-line spanning tree problems. Information Processing Letters – Tsai, Tang
1 An improved lower bound for on-line bin packing algorithms – Vliet - 1992