Combinatorica`
Combinatorica`

HamiltonianQ

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »

HamiltonianQ[g]

yields True if there exists a Hamiltonian cycle in graph g, or in other words, if there exists a cycle that visits each vertex exactly once.

更多信息和选项

范例

基本范例  (2)

HamiltonianQ has been superseded by HamiltonianGraphQ:

Wolfram Research (2012),HamiltonianQ,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/HamiltonianQ.html.

文本

Wolfram Research (2012),HamiltonianQ,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/HamiltonianQ.html.

CMS

Wolfram 语言. 2012. "HamiltonianQ." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/HamiltonianQ.html.

APA

Wolfram 语言. (2012). HamiltonianQ. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/HamiltonianQ.html 年

BibTeX

@misc{reference.wolfram_2024_hamiltonianq, author="Wolfram Research", title="{HamiltonianQ}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/HamiltonianQ.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_hamiltonianq, organization={Wolfram Research}, title={HamiltonianQ}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/HamiltonianQ.html}, note=[Accessed: 18-November-2024 ]}