1 / 27

2IL65 Algorithms

The course. Design and analysis of efficient algorithms for some basic computational problems.Basic algorithm design techniques and paradigms Algorithms analysis: O-notation, recursions,

meir
Télécharger la présentation

2IL65 Algorithms

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. 2IL65 Algorithms Fall 2011 Lecture 8: Conclusions

    2. The course Design and analysis of efficient algorithms for some basic computational problems. Basic algorithm design techniques and paradigms Algorithms analysis: O-notation, recursions, Basic data structures Basic graph algorithms Basic sorting algorithms

    3. Algorithms Algorithm a well-defined computational procedure that takes some value, or a set of values, as input and produces some value, or a set of values, as output. Algorithm sequence of computational steps that transform the input into the output. Algorithms research design and analysis of algorithms and data structures for computational problems.

    4. Algorithms Incremental algorithms process the input elements one-by-one and maintain the solution for the elements processed so far. Divide-and-conquer break the problem into two or more subproblems, solve the subproblems recursively, and then combine these solutions to create a solution to the original problem. In practice: often a combination of both.

    5. Describing algorithms A complete description of an algorithm consists of three parts: the algorithm (expressed in whatever way is clearest and most concise, can be English and / or pseudocode) a proof of the algorithms correctness a derivation of the algorithms running time

    6. Correctness Incremental algorithms process the input elements one-by-one and maintain the solution for the elements processed so far. Proof: (often) Loop invariant Divide-and-conquer break the problem into two or more subproblems, solve the subproblems recursively, and then combine these solutions to create a solution to the original problem. Proof: (often) Induction

More Related