Amortized Analysis - Research Article from World of Computer Science

This encyclopedia article consists of approximately 3 pages of information about Amortized Analysis.

Amortized Analysis - Research Article from World of Computer Science

This encyclopedia article consists of approximately 3 pages of information about Amortized Analysis.
This section contains 812 words
(approx. 3 pages at 300 words per page)
Buy the Amortized Analysis Encyclopedia Article

Amortized analysis is an analysis technique that provides tight bounds on the worst-case running time of an algorithm that involves a sequence of possibly different operations. For example, suppose an algorithm used operations A, B, and C and applied them n times to a given data structure to transform it into a new data structure. For each of the n-applications, the algorithm chooses A, or B, or C. Further suppose that A and B run in constant time, O(1), whereas C is linear, or O(k), where k is some measure of the size of the data structure. A naive analysis of the running time of this algorithm would have to conclude that the running time is O(k*n) since in the worst possible scenario the algorithm would apply a O(k) operation n separate times. However, for many reasons, such a bound would not...

(read more)

This section contains 812 words
(approx. 3 pages at 300 words per page)
Buy the Amortized Analysis Encyclopedia Article
Copyrights
Gale
Amortized Analysis from Gale. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.