全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Colouring of a graph?

又称: colouring (of a graph) · k-colourable graph

Definition 10.14 University Computer Science — Year 1 · 第 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.
在原文中阅读 →