HOME

TheInfoList



OR:

Task systems are mathematical objects used to model the set of possible configuration of
online algorithm In computer science, an online algorithm is one that can process its input piece-by-piece in a serial fashion, i.e., in the order that the input is fed to the algorithm, without having the entire input available from the start. In contrast, an o ...
s. They were introduced by
Borodin Alexander Porfiryevich Borodin ( rus, link=no, Александр Порфирьевич Бородин, Aleksandr Porfir’yevich Borodin , p=ɐlʲɪkˈsandr pɐrˈfʲi rʲjɪvʲɪtɕ bərɐˈdʲin, a=RU-Alexander Porfiryevich Borodin.ogg, ...
, 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 Metric or metrical may refer to: * Metric system, an internationally adopted decimal system of measurement * An adjective indicating relation to measurement in general, or a noun describing a specific type of measurement Mathematics In mathema ...
, 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 In computer operating systems, memory paging is a memory management scheme by which a computer stores and retrieves data from secondary storage for use in main memory. In this scheme, the operating system retrieves data from secondary storage ...
, list accessing, and the
k-server problem The -server problem is a problem of theoretical computer science in the category of online algorithms, one of two abstract problems on metric spaces that are central to the theory of competitive analysis (the other being metrical task systems). ...
(in finite spaces).


Formal Definition

A task system is a pair (S,d) where S=\ is a set of states and d:S \times S \rightarrow \mathbb is a distance function. If d is a metric, (S,d) is a metrical task system. An input to the task system is a sequence \sigma = T_1,T_2,\dotsc,T_l such that for each i, T_i is a vector of n non-negative entries that determine the processing costs for the n states when processing the ith task. An algorithm for the task system produces a schedule \pi that determines the sequence of states. For instance, \pi(i)=s_j means that the ith task T_i is run in state s_j. The processing cost of a schedule is \mathrm(\pi,\sigma) = \sum_^l d(\pi(i-1),\pi(i)) + T_i(\pi(i)). 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 2n-1 on the competitive ratio due to Borodin et al. (1992). For randomized online algorithms, the competitive ratio is lower bounded by \Omega(\log n / \log\log n) and upper bounded by O\left((\log n)^2\right). The lower bound is due to Bartal et al. (2006,2005). The upper bound is due to Bubeck, Cohen, Lee and Lee (2018) who improved upon a result of Fiat and Mendel (2003). There are many results for various types of restricted metrics.


See also

*
Adversary model In computer science, an online algorithm measures its competitiveness against different adversary models. For deterministic algorithms, the adversary is the same as the adaptive offline adversary. For randomized online algorithms competitiveness can ...
* Competitive analysis *
K-server problem The -server problem is a problem of theoretical computer science in the category of online algorithms, one of two abstract problems on metric spaces that are central to the theory of competitive analysis (the other being metrical task systems). ...
*
Online algorithm In computer science, an online algorithm is one that can process its input piece-by-piece in a serial fashion, i.e., in the order that the input is fed to the algorithm, without having the entire input available from the start. In contrast, an o ...
*
Page replacement algorithm In a computer operating system that uses paging for virtual memory management, page replacement algorithms decide which memory pages to page out, sometimes called swap out, or write to disk, when a page of memory needs to be allocated. Page repl ...
*
Real-time computing Real-time computing (RTC) is the computer science term for hardware and software systems subject to a "real-time constraint", for example from event to system response. Real-time programs must guarantee response within specified time constrai ...


References

* * * * * * * {{cite conference , author1=Sébastien Bubeck , author2=Michael B. Cohen , author3=James R. Lee , author4=Yin Tat Lee , name-list-style=amp , title = Metrical task systems on trees via mirror descent and unfair gluing , book-title = Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms , year = 2019 , arxiv=1807.04404 Online algorithms