Académique Documents
Professionnel Documents
Culture Documents
Synthèse – 19/3/2020
David Rivreau
Le problème du flot maximum
•
2
Chaîne améliorante
•
3
Chaîne améliorante (Illustration)
+s +1
5
5
0
+s
+4
7
-3 -3
5
Amélioration du flot par chaîne
(démonstration)
•
6
Amélioration du flot par chaîne
(démonstration)
•
7
Amélioration du flot par chaîne
(démonstration)
•
s t
a) d)
8
Amélioration du flot par chaîne
(démonstration)
•
s t
a) c)
9
Amélioration du flot par chaîne
(démonstration)
•
s t
a) d)
10
Amélioration du flot par chaîne
(démonstration)
•
s t
b) c)
11
Amélioration du flot par chaîne
(démonstration)
•
s t
b) d)
12
Algorithme de Ford-Fulkerson
Algorithme glouton
coupe
•
Théorème de Ford-Fulkerson
•
17
Théorème Flot max / Coupe min
•
Quiz Kahoot.it
18
Théorème d’intégralité
•
19
Complexité de Ford-Fulkerson
•
20
Implémentation de Ford-Fulkerson
Détail de la procédure de marquage
Procédures de mise à jour du flot
Au fait ?
Comment implémente-t-on une procédure de marquage ?
Activité Chamilo
24
Algorithme de Ford-Fulkerson (inconvénient)
• L’algorithme est théoriquement pseudo-polynomial !
1 1 1
s t s t s t
2 2 2
1 1
s t s t
2 2
Algorithme de Ford-Fulkerson (inconvénient)
•
Algorithme d'échelonnement des capacités
(principe)
•
Algorithme d'échelonnement des capacités
(Illustration 1/7)
Algorithme d'échelonnement des capacités
(Illustration 2/7)
29
Algorithme d'échelonnement des capacités
(Illustration 3/7)
30
Algorithme d'échelonnement des capacités
(Illustration 4/7)
31
Algorithme d'échelonnement des capacités
(Illustration 5/7)
32
Algorithme d'échelonnement des capacités
(Illustration 6/7)
33
Algorithme d'échelonnement des capacités
(Illustration 7/7)
34
Algorithme d'échelonnement des capacités
(pseudocode)
Exemple au tableau…
Algorithme d'échelonnement des capacités
(complexité)
•