Professional Documents
Culture Documents
01 Asymtotic
01 Asymtotic
Analisis Algoritma
Ir. Sugiono, MT
1
3/19/2018
Algoritma
2
3/19/2018
Pseudocode
3
3/19/2018
Dokumentasi algoritma
• Program NamaProgram
Diskripsikan keterangan program
• Deklarasi
Tipe data : variabel-2
• Langkah
– Input
– Proses
– Output
4
3/19/2018
Analisis Algoritma ?
5
3/19/2018
6
3/19/2018
Tipe Analisis
7
3/19/2018
8
3/19/2018
Analisis Asymptotic
9
3/19/2018
Analisis Asymptotic
• Asymptotic analysis is input bound i.e., if
there's no input to the algorithm, it is
concluded to work in a constant time. Other
than the "input" all other factors are
considered constant. Asymptotic
analysis refers to computing the running time
of any operation in mathematical units of
computation.
10
3/19/2018
Notasi Asymtotic
o OѲ Ω ω
< <= = >= >
11
3/19/2018
Big Oh “O”
12
3/19/2018
13
3/19/2018
14
3/19/2018
15
3/19/2018
Little Oh “o”
16
3/19/2018
17
3/19/2018
Recurrence
18
3/19/2018
Penyelesaian ?
19
3/19/2018
Analisis Amortisasi
20
3/19/2018
Metode Aggregate
21
3/19/2018
Metode Accounting
22
3/19/2018
Metode Potensial
23
3/19/2018
Tabel Dinamis
24
3/19/2018
Kompleksitas
25
3/19/2018
Kompleksitas Waktu ?
26
3/19/2018
27
3/19/2018
28
3/19/2018
29
3/19/2018
30
3/19/2018
31
3/19/2018
32