Algorithm Analysis (CSC 301 2015F) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] [FAQ] [IRC] [Teaching & Learning]
Current: [Outline] [EBoard] [Reading] [Lab] [Assignment]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Readings]
Reference: [Algorist]
Related Courses: [Walker (2014F)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker]
Held: Wednesday, 9 September 2015
Back to Outline 05 - Divide and Conquer Approaches. On to Outline 07 - Pause for Breath.
Summary
We consider proofs related to recurrence relations, and therefore to divide-and-conquer algorithms.
Related Pages
Overview
Administrivia
assert.T(n) <= 3T(n/3) + O(n^2).T(n) <= 3T(n/3) + O(n).T(n) <= 3T(n/3) + O(1).T(n) <= 3T(n/5) + O(n^2).T(n) <= 3T(n/5) + O(n).T(n) <= 3T(n/5) + O(1).T(n) <= 9T(n/3) + O(n^2).T(n) <= 9T(n/3) + O(n).T(n) <= 9T(n/3) + O(1).T(n) <= T(2n/3) + O(n^2).T(n) <= T(2n/3) + O(n).T(n) <= T(2n/3) + O(1).T(n) = 2*T(n/2) + cn.T(n) = 2*T(n/2) + c.T(n) = 2*T(n/2) + O(n) and T(n) = 1, then
T(n) is in O(nlogn).T(n) = aT(n/b)+f(n).n/b drops to 0.f(n) is in O(n^(log_b(a)-e)) for some e > 0, then
T(n) is in Theta(n^(log_b(a)))f(n) is in Theta(n^log_b(a)), then
T(n) is in Theta(n^(log_b(a)*log n))f(n) is in Omega(n^(log_b(a)+e))_ for some e > 0, and
af(n/b) <= cf(n) for some c < 1 and large enough n,
then T(n) is in Theta(f(n)).T(n) = aT(n/b) + O(n^k)If there's time, we'll go over this.