Metrical task system
Task systems are mathematical objects used to model the set of possible configuration of online algorithms. They were introduced by Borodin, Linial and Saks (1992) to model a variety of online problems. A task system determines a set of states and costs to change states. Task systems obtain as input a sequence of requests such that each request assigns processing times to the states. The objective of an online algorithm for task systems is to create a schedule that minimizes the overall cost incurred due to processing the tasks with respect to the states and due to the cost to change states.
If the cost function to change states is a metric, the task system is a metrical task system (MTS). This is the most common type of task systems. Metrical task systems generalize online problems such as paging, list accessing, and the k-server problem (in finite spaces).
Formal Definition
A task system is a pair where is a set of states and is a distance function. If is a metric, is a metrical task system. An input to the task system is a sequence such that for each , is a vector of non-negative entries that determine the processing costs for the states when processing the th task.
An algorithm for the task system produces a schedule that determines the sequence of states. For instance, means that the th task is run in state . The processing cost of a schedule is
The objective of the algorithm is to find a schedule such that the cost is minimized.
Known Results
As usual for online problems, the most common measure to analyze algorithms for metrical task systems is the competitive analysis, where the performance of an online algorithm is compared to the performance of an optimal offline algorithm. For deterministic online algorithms, there is a tight bound on the competitive ratio due to Borodin et al. (1992).
For randomized online algorithms, the competitive ratio is lower bounded by and upper bounded by . The lower bound is due to Bartal et al. (2006,2005). The upper bound is due to Fiat and Mendel (2003) who improved upon a result of Bartal et al. (1997).
There are many results for various types of restricted metrics.
See also
- Adversary model
- Competitive analysis
- K-server problem
- Online algorithm
- Page replacement algorithm
- Real-time computing
References
- Yair Bartal, Avrim Blum, Carl Burch, and Andrew Tomkins (1997). "A polylog(n)-Competitive Algorithm for Metrical Task Systems". Proceedings of the Twenty-Ninth Annual ACM Symposium on the Theory of Computing. pp. 711–719. doi:10.1145/258533.258667.
- Yair Bartal, Béla Bollobás, Manor Mendel (2006). "Ramsey-type theorems for metric spaces with applications to online problems". Journal of Computer and System Sciences 72: 890–921. doi:10.1016/j.jcss.2005.05.008.
- Yair Bartal, Nathan Linial, Manor Mendel, Assaf Naor (2005). "On metric Ramsey-type phenomena". Annals of Mathematics 162: 643–709. doi:10.4007/annals.2005.162.643.
- Allan Borodin and Ran El-Yaniv (1998). Online Computation and Competitive Analysis. Cambridge University Press. pp. 123–149.
- Allan Borodin, Nati Linial, and Michael Saks (1992). "An optimal online algorithm for metrical task systems". Journal of the ACM 39: 745–763. doi:10.1145/146585.146588.
- Amos Fiat and Manor Mendel (2003). "Better Algorithms for Unfair Metrical Task Systems and Applications". SIAM J. Comput. 32: 1403–1422. doi:10.1137/S0097539700376159.