18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

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.

Introduction to <strong>Algorithm</strong>s<br />

● Reasonable-looking algorithms can easily be incorrect. <strong>Algorithm</strong> correctness is a property that must be carefully<br />

demonstrated.<br />

● <strong>Algorithm</strong>s can be understood and studied in a machine independent way.<br />

● <strong>The</strong> ``big Oh'' notation and worst-case analysis are tools that greatly simplify our ability to compare the efficiency of<br />

algorithms.<br />

● We seek algorithms whose running times grow logarithmically, because grows very slowly with increasing n.<br />

● Modeling your application in terms of well-defined structures and algorithms is the most important single step towards a<br />

solution.<br />

● Correctness and Efficiency<br />

❍ Correctness<br />

❍ Efficiency<br />

● Expressing <strong>Algorithm</strong>s<br />

● Keeping Score<br />

❍ <strong>The</strong> RAM Model of Computation<br />

❍ Best, Worst, and Average-Case Complexity<br />

● <strong>The</strong> Big Oh Notation<br />

● Growth Rates<br />

● Logarithms<br />

● Modeling the Problem<br />

● About the War Stories<br />

● War Story: Psychic Modeling<br />

● Exercises<br />

Next: Correctness and Efficiency Up: Techniques Previous: Techniques<br />

<strong>Algorithm</strong>s<br />

Mon Jun 2 23:33:50 EDT 1997<br />

file:///E|/BOOK/BOOK/NODE6.HTM (2 of 2) [19/1/2003 1:27:42]

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

Saved successfully!

Ooh no, something went wrong!