Gas Fa ston aites Lagr Grap raffe phe à e arrri riive, us!
Gas Fa ston aites Lagr Grap raffe phe à e arrri riive, us!
Gas Fa ston aites Lagr Grap raffe phe à e arrri riive, us!
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5. Résolution du problème<br />
Etape 1 :<br />
1. Attribuer <strong>à</strong> chaque sommet du<br />
gra<strong>phe</strong> un nombre.<br />
2. Repérer le degré de chaque<br />
sommet.<br />
3. Classer les sommets du gra<strong>phe</strong><br />
dans l’ordre décroissant de<br />
leur degré en attribuant <strong>à</strong><br />
chacun des sommets un<br />
numéro d’ordre dans la liste<br />
obtenue.<br />
2.<br />
3.<br />
D(S1)=1 D(S5)=4 D(S9)=3 D(S13)=0<br />
D(S2)=2 D(S6)=5 D(S10)=8 D(S14)=1<br />
D(S3)=5 D(S7)=1 D(S11)=3 D(S15)=4<br />
D(S4)=3 D(S8)=1 D(S12)=2 D(S16)=1<br />
1 2 3 4 5 6 7 8<br />
S10 S6 S3 S5 S15 S4 S9 S11<br />
9 10 11 12 13 14 15 16<br />
S2 S12 S1 S7 S8 S14 S16 S13<br />
Etape 2<br />
En parcourant la liste dans l’ordre, attribuer une<br />
couleur non utilisée au premier sommet non<br />
encore coloré, et attribuer cette même couleur <strong>à</strong><br />
chaque sommet non coloré et non adjacent <strong>à</strong> un<br />
sommet de cette couleur.<br />
Etape 3<br />
S’il reste des sommets non colorés dans le gra<strong>phe</strong>,<br />
revenir <strong>à</strong> l’étape 2. Sinon, la coloration est<br />
terminée.<br />
Théorie des gra<strong>phe</strong>s – page 18<br />
Sommet n° d'ordre<br />
S10 1<br />
S6 2<br />
S3 3<br />
S5 4<br />
S8 5<br />
S9 6<br />
S15 7<br />
S4 8<br />
S11 9<br />
S2 10<br />
S7 11<br />
S12 12<br />
S1 13<br />
S14 14<br />
S16 15<br />
S13 16<br />
1<br />
couleur<br />
attribuée