Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Colouring of a graph?

Ook bekend als: colouring (of a graph) · k-colourable graph

Definition 10.14 University Computer Science — Year 1 · Hoofdstuk 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.
Lees in het hoofdstuk →