24.12.2013 Views

Complexity of Online Algorithms - CSIS

Complexity of Online Algorithms - CSIS

Complexity of Online Algorithms - CSIS

SHOW MORE
SHOW LESS

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 – Miss Rates<br />

<strong>Online</strong> Paging Lemma:<br />

• For any deterministic online algorithm A there exist<br />

sequences <strong>of</strong> arbitrary length such that A misses on<br />

every request<br />

• i.e. f A ([ 0 , 1 , ... n ]) = n<br />

• Pro<strong>of</strong>:<br />

• Consider an adversary who chooses the next input j<br />

to be a page that is not one <strong>of</strong> the k pages in M 0<br />

• Since |M 1 | = k+1, there always exists one such page.<br />

Implication:<br />

• Worst case analysis is not useful in comparing these<br />

algorithms

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!