Combinatorica`
Combinatorica`
ChromaticPolynomial
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
ChromaticPolynomial[g,z]
gives the chromatic polynomial of graph g, which counts the number of ways to color g with at most z colors.
Details and Options
- ChromaticPolynomial functionality is now available in the built-in Wolfram Language function ChromaticPolynomial.
- To use ChromaticPolynomial, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Examples
Basic Examples (2)
Degrees has been superseded by VertexDegree:
Wolfram Research (2012), ChromaticPolynomial, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html.
Text
Wolfram Research (2012), ChromaticPolynomial, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html.
CMS
Wolfram Language. 2012. "ChromaticPolynomial." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html.
APA
Wolfram Language. (2012). ChromaticPolynomial. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html