Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Colouring of a graph » ?

Aussi appelé : colouring (of a graph) · k-colourable graph

Definition 10.14 University Computer Science — Year 1 · Chapitre 10 — Propositional Logic

A colouring of a graph with kk colours gives each vertex one of kk colours so that the two ends of every edge have different colours; a graph that has one is kk-colourable.

The friendship graph coloured by the model of : red, green and blue. No edge joins two vertices of the same colour. Two colours fail because the graph has a cycle of odd length (the friends 1, 5 and 12 form a triangle), which cannot alternate between two colours.
The friendship graph coloured by the model of Output 10.8: red, green and blue. No edge joins two vertices of the same colour. Two colours fail because the graph has a cycle of odd length (the friends 1, 5 and 12 form a triangle), which cannot alternate between two colours.
Lire dans le chapitre →