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.
更多信息和选项
- 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`"].
范例
基本范例 (2)
Degrees has been superseded by VertexDegree:
Wolfram Research (2012),ChromaticPolynomial,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html.
文本
Wolfram Research (2012),ChromaticPolynomial,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html.
CMS
Wolfram 语言. 2012. "ChromaticPolynomial." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html.
APA
Wolfram 语言. (2012). ChromaticPolynomial. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/ChromaticPolynomial.html 年