Abstract

We consider a model for online computation in which the online algorithm receives, together with each request, some information regarding the future, referred to as advice. The advice is a function, defined by the online algorithm, of the whole request sequence. The advice provided to the online algorithm may allow an improvement in its performance, compared to the classical model of complete lack of information regarding the future. We are interested in the impact of such advice on the competitive ratio, and in particular, in the relation between the size b of the advice, measured in terms of bits of information per request, and the (improved) competitive ratio. Since b = 0 corresponds to the classical online model, and b = ⌈ log ∣ A ∣ ⌉ , where A is the algorithm’s action space, corresponds to the optimal (offline) one, our model spans a spectrum of settings ranging from classical online algorithms to offline ones. In this paper we propose the above model and illustrate its applicability by considering two of the most extensively studied online problems, namely, metrical task systems (MTS) and the k - server problem. For MTS we establish tight (up to constant factors) upper and lower bounds on the competitive ratio of deterministic and randomized online algorithms with advice for any choice of 1 ≤ b ≤ Θ ( log n ) , where n is the number of states in the system: we prove that any randomized online algorithm for MTS has competitive ratio Ω ( log ( n ) / b ) and we present a deterministic online algorithm for MTS with competitive ratio O ( log ( n ) / b ) . For the k -server problem we construct a deterministic online algorithm for general metric spaces with competitive ratio k O ( 1 / b ) for any choice of Θ ( 1 ) ≤ b ≤ log k .

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call