Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-2plfb Total loading time: 0 Render date: 2024-11-27T16:41:54.998Z Has data issue: false hasContentIssue false

Appendix

Published online by Cambridge University Press:  07 May 2024

Rahul Vaze
Affiliation:
Tata Institute of Fundamental Research, Mumbai, India
Get access

Summary

Types of Adversaries and Their Relationships

Definition A.1.1 For randomized online algorithms, the oblivious adversary has to generate the entire input sequence in advance (using only the information about distribution used by the randomized algorithm) before any requests are served by the online algorithm. Thus, the adversary has no access to the random choices made by the algorithm. Moreover, OPT's cost is equal to the cost of the optimal offline algorithm knowing the entire input sequence in advance.

Let the oblivious adversary be denoted as Qo. Then Qo knows the distribution D used by the randomized algorithmR, but does not know the actual random choices made byR. Another way to describe this interaction is that Qo chooses input 1, 2, … , which is processed by R sequentially with decisions d1, d2, … and Qo has to make request i without any knowledge of d1, d2, … , di−1.

Definition A.1.2 For a minimization problem, a randomized algorithm R is -competitive against an oblivious adversary Qo if

whereis the input generated by Qo.

Definition A.1.3 Adaptive adversary Qa: Adversary is allowed to observe the online algorithm's decisions (random choices) and generate the next request based on that. Thus, Qa's request i can depend on d1, d2, … , di−1

Definition A.1.4 Adaptive offline adversary Qaf: Adversary is allowed to observe the online algorithm's decisions (random choices) and generate the next request based on that. Moreover, OPT is allowed access to this sequence offline and hence is charged the optimum offline cost for that sequence. Thus, once R has made its sequential decisions d1, d2, … , dn that can be used to generate 1, 2, … , n, OPT's cost is the cost incurred by the optimal offline algorithm knowing the full sequence 1, 2, … , n ahead of time.

A slightly weaker definition is as follows.

Definition A.1.5 Adaptive online adversary Qao: Adversary is allowed to observe the online algorithm's decisions (random choices) and generate the next request based on that. OPT, however, also must serve each request online, i.e., before knowing the random choices made by the online algorithm on the present request, which in turn possibly influences the next request made by the adversary.

Type
Chapter
Information
Online Algorithms , pp. 433 - 438
Publisher: Cambridge University Press
Print publication year: 2023

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Appendix
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.022
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Appendix
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.022
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Appendix
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.022
Available formats
×