Abstract

Borodin et al. (J. ACM 39 (1992) 745) introduced metrical task systems, a framework to model a large class of online problems. Metrical task systems can be described as follows. We are given a graph G = ( V , E ) with n nodes and a positive edge length λ ( e ) for every edge e ∈ E . An online algorithm resides in G and has to service a sequence of tasks that arrive online. A task τ specifies for each node v ∈ V a request cost r ( v ) ∈ R 0 + ∪ { ∞ } . If the algorithm resides in node u before the arrival of task τ , the cost to service task τ in node v is equal to the shortest path distance from u to v plus the request cost r ( v ) . The objective is to service all tasks at minimum total cost. Borodin et al. showed that every deterministic online algorithm has a competitive ratio of at least 2 n - 1 , independent of the underlying metric. Moreover, they presented an online work function algorithm (WFA) that achieves this competitive ratio. We present a smoothed competitive analysis of WFA. That is, given an adversarial task sequence, we randomly perturb the request costs and analyze the competitive ratio of WFA on the perturbed sequence. Here, we are mainly interested in the asymptotic behavior of WFA. Our analysis reveals that the smoothed competitive ratio of WFA is much better than O ( n ) and that it depends on several topological parameters of the underlying graph G, such as the minimum edge length λ min , the maximum degree Δ , the edge diameter e max , etc. For example, if the ratio between the maximum and the minimum edge length of G is bounded by a constant, the smoothed competitive ratio of WFA is O ( e max ( λ min / σ + log ( Δ ) ) ) and O ( n · ( λ min / σ + log ( Δ ) ) ) , where σ denotes the standard deviation of the smoothing distribution. That is, already for perturbations with σ = Θ ( λ min ) the competitive ratio reduces to O ( log ( n ) ) on a clique and to O ( n ) on a line. Furthermore, we provide lower bounds on the smoothed competitive ratio of any deterministic algorithm. We prove two general lower bounds that hold independently of the underlying metric. Moreover, we show that our upper bounds are asymptotically tight for a large class of graphs. We also provide the first average case analysis of WFA. We prove that WFA has O ( log ( Δ ) ) expected competitive ratio if the request costs are chosen randomly from an arbitrary non-increasing distribution with standard deviation σ = Θ ( λ min ) .

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

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.