Combinatorica`
Combinatorica`
Distances
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
Distances[g,v]
returns the distances in nondecreasing order from vertex v to all vertices in g, treating g as an unweighted graph.
更多信息和选项
- Distances functionality is now available in the built-in Wolfram Language function GraphDistance.
- To use Distances, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
范例
基本范例 (2)
Distances has been superseded by GraphDistance:
Wolfram Research (2012),Distances,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/Distances.html.
文本
Wolfram Research (2012),Distances,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/Distances.html.
CMS
Wolfram 语言. 2012. "Distances." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/Distances.html.
APA
Wolfram 语言. (2012). Distances. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/Distances.html 年