Académique Documents
Professionnel Documents
Culture Documents
C1 PCCH
C1 PCCH
Définition et vocabulaire
Cycle ingénieur
UV FUNS
Benjamin Allaert
Qu’est-ce qu’un graphe ?
sommet
Un ensemble de sommets
Un ensemble d’arêtes
arête
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment dessiner un graphe
Sommets : A, B, C, D
Arêtes : AD, BD, BC, CD
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment dessiner un graphe
Sommets : A, B, C, D
Arêtes : AD, BD, BC, CD
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment dessiner un graphe
Sommets : A, B, C, D
Arêtes : AD, BD, BC, CD
Cycle ingénieur
UV FUNS
Benjamin Allaert
A quoi sert un graphe ?
Pierre
Réseau social Paul
Vincent
Lili
Louis
Franck
Léa Zoé
Jacques
Cycle ingénieur
UV FUNS
Benjamin Allaert
A quoi sert un graphe ?
Oslo
NY
Bruxelles
Transport Londres
Madrid
Tokyo
Rio Lisbonne
Paris
Cycle ingénieur
UV FUNS
Benjamin Allaert
A quoi sert un graphe ?
M3
M1 Problème de connexion
M8
M4
M7
M2
Réseau informatique
M5 M9
M6
Cycle ingénieur
UV FUNS
Benjamin Allaert
Où trouve-t-on les graphes dans la vie ?
Réseaux
Sociaux
Routiers, aériens
Distribution de biens
Energie
Mathématique
Informatique
Relation entre les données
Routage dans les réseaux
…
Cycle ingénieur
UV FUNS
Benjamin Allaert
Où trouve-t-on les graphes dans la vie ?
Réseaux
Sociaux
Routiers, aériens
Distribution de biens
Energie
Mathématique
Informatique
Relation entre les données
Routage dans les réseaux
…
Beaucoup de problèmes
Non encore résolus !
Cycle ingénieur
UV FUNS
Benjamin Allaert
Les types de graphe Règle : Zéro ou une arête entre chaque sommets
Le graphe complet
Cycle ingénieur
UV FUNS
Benjamin Allaert
Les types de graphe Règle : Zéro ou une arête entre chaque sommets
Cycle ingénieur
UV FUNS
Benjamin Allaert
Les types de graphe Règle : Zéro ou une arête entre chaque sommets
U et V sont voisins
Deg(r) = 3
r à trois voisins
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notions Voisines, Degrés
E à un seul voisin
Deg(r) = 3 Deg(E) = 1
r à trois voisins
E et F ne sont pas voisins
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de chemin
A
B
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de chemin
Longueur = 4
A
B
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de chemin
Longueur = 4
A
B
Longueur = 4
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de chemin
Longueur = 4
A
Longueur = 2 B
Longueur = 4
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de cycle
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de cycle
Longueur = 3
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de cycle
Longueur = 8
Longueur = 3
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de connectivité
Graphe complet
Graphe connexe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de connectivité
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de connectivité
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion d’orientation
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion d’orientation
Cycle ingénieur
UV FUNS
Benjamin Allaert
Notion de pondération
11
Cycle ingénieur
UV FUNS
Benjamin Allaert
Les arbres
Une classe remarquable des graphes
Cycle ingénieur
UV FUNS
Benjamin Allaert
Définition d’un arbre
Cycle ingénieur
UV FUNS
Benjamin Allaert
Définition d’un arbre
Pas connexe
cycle
Cycle ingénieur
UV FUNS
Benjamin Allaert
Les types d’arbres
Cycle ingénieur
UV FUNS
Benjamin Allaert
Les arbres couvrants
Cycle ingénieur
UV FUNS
Benjamin Allaert
Arbre couvrant en informatique
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment construire un Arbre couvrant ?
Algorithme de Prim
Algorithme de Kruskal
Construire un arbre couvrant respectant les distances pondérées à partir d’un sommet
Trouver le plus court chemin entre deux sommets
Algorithme de Dijkstra
Cycle ingénieur
UV FUNS
Benjamin Allaert
Arbre couvrant de poids minimal
Algorithme de Kruskal
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Poids de l’arête
Un arbre couvrant
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Poids de l’arête
Un arbre couvrant
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1
A, B : 3
B, C : 4
A, C : 4
E, D : 5
A, F : 7
C, D : 9
C, E : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui
A, B : 3
B, C : 4
A, C : 4
E, D : 5
A, F : 7
C, D : 9
C, E : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui
A, B : 3 Oui
B, C : 4
A, C : 4
E, D : 5
A, F : 7
C, D : 9
C, E : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui
A, B : 3 Oui
B, C : 4 Oui
A, C : 4
E, D : 5
A, F : 7
C, D : 9
C, E : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui
A, B : 3 Oui
B, C : 4 Oui
A, C : 4 Non
E, D : 5
A, F : 7
C, D : 9
C, E : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui
A, B : 3 Oui
B, C : 4 Oui
A, C : 4 Non
E, D : 5 Oui
A, F : 7
C, D : 9
C, E : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui
A, B : 3 Oui
B, C : 4 Oui
A, C : 4 Non
E, D : 5 Oui
A, F : 7 Non
C, D : 9
C, E : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui
A, B : 3 Oui
B, C : 4 Oui
A, C : 4 Non
E, D : 5 Oui
A, F : 7 Non
C, D : 9 Oui
C, E : 9
Poids : 3+4+9+1+5 = 22
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Kruskal
Trier les arêtes par poids croissants
F, C : 1 Oui F, C : 1 Oui
A, B : 3 Oui A, B : 3 Oui
B, C : 4 Oui A, C : 4 Oui
A, C : 4 Non B, C : 4 Non
E, D : 5 Oui E, D : 5 Oui
A, F : 7 Non A, F : 7 Non
C, D : 9 Oui C, E : 9 Oui
C, E : 9 C, D : 9
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Arbre couvrant en passant une seule fois par chaque arête
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Ne contient pas de parcours eulérien
Contient un parcours eulérien
2-4-4-4-4-4-2
3-2-3-3-3-3-2-2-3
Un graphe connexe admet un parcours eulérien si et seulement si
ses sommets sont tous de degré pair sauf au plus deux
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Parcours eulérien d’un graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Plus court chemin entre deux sommets
Algorithme de Dijkstra
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
0
18 3
inf
inf
8
4 10 2
inf inf
1
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
0 0
18 3 18 3
18
inf 3
inf
8 8
4 10 2 4 10 2
inf inf
1 inf 1 inf
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
0 0
0
18 3 18 3 18 3
18 18
inf 3 3
inf
8 8 8
4 10 2 4 10 2 4 10 2
inf inf 5
1 inf 1 inf 13 1
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
0 0
0
18 3 18 3 18 3
18 18
inf 3 3
inf
8 8 8
4 10 2 4 10 2 4 10 2
inf inf 5
1 inf 1 inf 13 1
0
18 3
3
18
8
4 10 2
6 5
1
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
0 0
0
18 3 18 3 18 3
18 18
inf 3 3
inf
8 8 8
4 10 2 4 10 2 4 10 2
inf inf 5
1 inf 1 inf 13 1
0 0
18 3 18 3
3
18 10 3
8 8
4 10 2 4 10 2
6 5 6 5
1 1
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
0 0
0
18 3 18 3 18 3
18 18
inf 3 3
inf
8 8 8
4 10 2 4 10 2 4 10 2
inf inf 5
1 inf 1 inf 13 1
0 0 0
18 3 18 3 18 3
3
18 10 3 10 3
8 8 8
4 10 2 4 10 2 4 10 2
6 5 6 5 6 5
1 1 1
Cycle ingénieur
UV FUNS
Benjamin Allaert
Algorithme de Dijkstra
18 3 18 3 3
8 8
4 10 2 4 10 2 4 2
1 1 1
Cycle ingénieur
UV FUNS
Benjamin Allaert
Coloration des Graphes
Comment créer des plannings optimaux
Cycle ingénieur
UV FUNS
Benjamin Allaert
Coloration d’un Graphe
Cycle ingénieur
UV FUNS
Benjamin Allaert
Coloration d’un Graphe
Coloration propre chaque sommet a une couleur différente de celles de ses voisins
A A A
E D C B E D C B E D C B
Nombre minimal de couleurs = nombre de sommets du plus grand sous-graphe complet ABC = 3 n >= 3
Nombre maximal de couleurs = Degré du sommet le plus élevé + 1 Deg(A) = 3 n <= 3+1
Cycle ingénieur
UV FUNS
Benjamin Allaert
Coloration d’un Graphe
Donnée : G=(V,E) Trouver une coloration propre de G utilisant le nombre minimal de couleurs
Cycle ingénieur
UV FUNS
Benjamin Allaert
Coloration et planning
Isa
B : Informatique
Karim
C : Droit
Lola
D : Théorie des graphes
Vero
E : Marketing
Fred
Cycle ingénieur
UV FUNS
Benjamin Allaert
Coloration et planning
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?
Cycle ingénieur
UV FUNS
Benjamin Allaert
Comment colorier un graph ?