Combinatorica`
Combinatorica`
NumberOf2Paths
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
NumberOf2Paths[g,v]
returns a sorted list that contains the number of paths of length 2 to different vertices of from
.
Details and Options
- To use NumberOf2Paths, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Wolfram Research (2012), NumberOf2Paths, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html.
✖
Wolfram Research (2012), NumberOf2Paths, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html.
Text
Wolfram Research (2012), NumberOf2Paths, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html.
✖
Wolfram Research (2012), NumberOf2Paths, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html.
CMS
Wolfram Language. 2012. "NumberOf2Paths." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html.
✖
Wolfram Language. 2012. "NumberOf2Paths." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html.
APA
Wolfram Language. (2012). NumberOf2Paths. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html
✖
Wolfram Language. (2012). NumberOf2Paths. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html
BibTeX
✖
@misc{reference.wolfram_2025_numberof2paths, author="Wolfram Research", title="{NumberOf2Paths}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html}", note=[Accessed: 15-May-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_numberof2paths, organization={Wolfram Research}, title={NumberOf2Paths}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/NumberOf2Paths.html}, note=[Accessed: 15-May-2025
]}