1 chapter 1-- introduction chapter 2-- algorithms and complexity 暨南大學資訊工程系...
Post on 21-Dec-2015
241 views
TRANSCRIPT
1
Chapter 1 -- IntroductionChapter 2 -- Algorithms and Complexity
暨南大學資訊工程系黃光璿 (Guan-Shieng Huang)2005/02/21
2
A Rock Game
Alice vs Bob 10+10 Bob can solve 2+2. How about 20+20? Or, 10+10+10?
The rule is: you can remove one rock from each pile or both of them.
The player who takes the last rock(s) wins the game.
12
Biological Algorithms vs Computer Algorithms
DNA helicase
topoisomerase
single-strandbinding protein
DNA
25
Big-O Notation
A function f(x) is O(g(x)) if there are positive real constants c and x0 such that f(x)≤g(x) for all values of x≧x0.
26
Algorithm Design Techniques
Exhaustive Search Branch-and-Bound Algorithms Dynamic Programming Divide-and-Conquer Algorithms Machine Learning Randomized Algorithms