Competitive Analysis and Online Algorithm

###Competitive Analysis

OPT is not possible (eg. you cannot predict the future), but you want to be as close to OPT as possible. How do you benchmark it?- Competitve Analysis!

Try to performance within some constant range of OPT no matter how bad things were. (Try to perform as good as wizard no matter how evil the devil is.)

###Online Algorithm

You have to make decisions on the fly. And you have no idea what’s coming next.

###Algorithm

Your Comments

comments powered by Disqus