Skip to main content

Work-Function Algorithm for k-Servers

  • Living reference work entry
  • First Online:
Encyclopedia of Algorithms
  • 346 Accesses

Synonyms: none.

Years and Authors of Summarized Original Work

1994; Koutsoupias, Papadimitriou

Problem Definition

In the k-Server Problem, the task is to schedule the movement of k-servers in a metric space \(\mathbb{M}\) in response to a sequence \(\varrho = r_{1},r_{2},\ldots ,r_{n}\) of requests, where \(r_{i} \in \mathbb{M}\) for all i. The servers initially occupy some configuration \(X_{0} \subseteq \mathbb{M}\). After each request r i is issued, one of the k-servers must move to r i . A scheduleS specifies which server moves to each request. The task is to compute a schedule with minimum cost, where the cost of a schedule is defined as the total distance traveled by the servers. The example below shows a schedule for 2 servers on a sequence of requests (Fig. 1).

Fig. 1
figure 1

A schedule for 2 servers on a request sequence \(\varrho = r_{1},r_{2},\ldots ,r_{7}\). The initial configuration is \(X_{0} = \left \{x_{1},x_{2}\right \}\). Server 1 serves r 1, r 2, r 5, r 6, while server 2...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Recommended Reading

  1. Anderson EJ, Hildrum K, Karlin AR, Rasala A, Saks M (2002) On list update and work function algorithms. Theor Comput Sci 287:393–418

    Article  MATH  MathSciNet  Google Scholar 

  2. Bein W, Chrobak M, Larmore LL (2002) The 3-server problem in the plane. Theor Comput Sci 287:387–391

    Article  MathSciNet  Google Scholar 

  3. Borodin A, El-Yaniv R (1998) Online computation and competitive analysis. Cambridge University Press, Cambridge

    MATH  Google Scholar 

  4. Borodin A, Linial N, Saks M (1987) An optimal online algorithm for metrical task systems. In: Proceedings of the 19th symposium on theory of computing (STOC). ACM, New York, pp 373–382

    Google Scholar 

  5. Burley WR (1996) Traversing layered graphs using the work function algorithm. J Algorithms 20:479–511

    Article  MATH  MathSciNet  Google Scholar 

  6. Chrobak M (2007) Competitiveness via primal-dual. SIGACT News 38:100–105

    Article  Google Scholar 

  7. Chrobak M, Larmore LL (1991) An optimal online algorithm for k servers on trees. SIAM J Comput 20:144–148

    Article  MATH  MathSciNet  Google Scholar 

  8. Chrobak M, Larmore LL (1998) Metrical task systems, the server problem, and the work function algorithm. In: Fiat A, Woeginger GJ (eds) Online algorithms: the state of the art. Springer, Berlin/New York, pp 74–94

    Chapter  Google Scholar 

  9. Chrobak M, Karloff H, Payne TH, Vishwanathan S (1991) New results on server problems. SIAM J Discret Math 4:172–181

    Article  MATH  MathSciNet  Google Scholar 

  10. Koutsoupias E (1999) Weak adversaries for the k-server problem. In: Proceedings of the 40th symposium on foundations of computer science (FOCS). IEEE, New York, pp 444–449

    Google Scholar 

  11. Koutsoupias E, Papadimitriou C (1994) On the k-server conjecture. In: Proceedings of the 26th symposium on theory of computing (STOC). ACM, Montreal, pp 507–511

    Google Scholar 

  12. Koutsoupias E, Papadimitriou C (1995) On the k-server conjecture. J ACM 42:971–983

    Article  MATH  MathSciNet  Google Scholar 

  13. Koutsoupias E, Papadimitriou C (1996) The 2-evader problem. Inf Process Lett 57:249–252

    Article  MATH  MathSciNet  Google Scholar 

  14. Manasse M, McGeoch LA, Sleator D (1988) Competitive algorithms for online problems. In: Proceedings of the 20th symposium on theory of computing (STOC). ACM, Chicago, pp 322–333

    Google Scholar 

  15. Manasse M, McGeoch LA, Sleator D (1990) Competitive algorithms for server problems. J Algorithms 11:208–230

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Marek Chrobak .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer Science+Business Media New York

About this entry

Cite this entry

Chrobak, M. (2014). Work-Function Algorithm for k-Servers. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, Boston, MA. https://doi.org/10.1007/978-3-642-27848-8_484-2

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-27848-8_484-2

  • Received:

  • Accepted:

  • Published:

  • Publisher Name: Springer, Boston, MA

  • Online ISBN: 978-3-642-27848-8

  • eBook Packages: Springer Reference Computer SciencesReference Module Computer Science and Engineering

Publish with us

Policies and ethics