Skip to content

C++ Four color theorem implementation using greedy coloring (Welsh-Powell algorithm)

License

Notifications You must be signed in to change notification settings

moritz155/4-color-theorem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4-color-theorem

C++ Four color theorem implementation using greedy coloring (Welsh-Powell algorithm).

Check out

https://en.wikipedia.org/wiki/Four_color_theorem
https://en.wikipedia.org/wiki/Greedy_coloring
http://mrsleblancsmath.pbworks.com/w/file/fetch/46119304/vertex%20coloring%20algorithm.pdf

Further:
https://en.wikipedia.org/wiki/Greedy_algorithm

For dummies:
https://en.wikipedia.org/wiki/Graph_%28abstract_data_type%29
https://en.wikipedia.org/wiki/Adjacency_list

Input format

N -> number of vertices in the graph The adjacency matrix with size N x N

Usage

./four_color infile outfile

About

C++ Four color theorem implementation using greedy coloring (Welsh-Powell algorithm)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.9%
  • Makefile 7.1%