Does the graph coloring uses greedy coloring method?
Closed this issue · 3 comments
Bitsy-Chuck commented
Does the graph coloring uses greedy coloring method?
UnickSoft commented
Yes. Coloring uses greedy coloring method. You may look it here: https://github.com/UnickSoft/graphonline/blob/master/script/plugins/Coloring.js
Bitsy-Chuck commented
@UnickSoft So how is the chromatic number given? I could not find anything in the documentation, sorry
UnickSoft commented
You may look Greedy coloring on wiki: https://en.wikipedia.org/wiki/Greedy_coloring
We use the same algorithm, but we use many different ordering and choose the best variant with minimal number color.