Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Colouring of a graph?

Dikenal juga sebagai: colouring (of a graph) · k-colourable graph

Definition 10.14 University Computer Science — Year 1 · Bab 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.
Baca dalam konteks →