Anytime Algorithm

Concept :
Common programs will end in a few seconds (ex: 5 secs) and finally give the outputs to the user .But if the programs didn’t run completely and end in the middle ( ex: 3 secs) , what will happen ?The most common answer is that the program will just quit and do not thing . So , if we use the concept of anytime algorithm , it means that even though the programs didn’t run completely and end in the middle,it also can give the partial outputs to the user . For example , if the program run completely , we can get 100% answer ; If the program just run half of it’s execution time , we also can get 50% answer .Hints : Thinking about a student doing his/her exam , and the score he/her get will related to how much time he/she take the exam .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s