|
SOLUTIONS
|
COMBINATORICA 程序包 符号
VertexColoring
VertexColoring[g]
uses Brelaz's heuristic to find a good, but not necessarily minimal, vertex coloring of graph
.
更多信息更多信息
- To use
, you first need to load the Combinatorica Package using Needs["Combinatorica`"]. - An option Algorithm that can take on the values Brelaz or Optimum is allowed.
- The setting Algorithm->Brelaz is the default, while the setting Algorithm->Optimum forces the algorithm to do an exhaustive search to find an optimum vertex coloring.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
