Complexity of Online Algorithms - CSIS
Complexity of Online Algorithms - CSIS
Complexity of Online Algorithms - CSIS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Paging Algorithm – Competitive Analysis<br />
<strong>Online</strong> Paging Competitiveness Theorem:<br />
• For any deterministic online algorithm A for paging, C A >= k<br />
Question:<br />
• Can the negative result in OPC Theorem be overcome<br />
using randomization?<br />
Pro<strong>of</strong> Technique:<br />
• One can view the <strong>of</strong>fline algorithm as an adversary who is<br />
not only managing a cache but is also choosing the inputs<br />
• and in this case an adversary who also knows the state <strong>of</strong><br />
the algorithm (being analyzed).<br />
• In case <strong>of</strong> a randomized algorithm, if the adversary knows<br />
the state (in this case, current set <strong>of</strong> pages in the cache)<br />
• then the adversary knows the random choices made by<br />
the algorithm (in this case, the pages to be evicted)