Combinatorica`
Combinatorica`

ParentsToPaths

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

ParentsToPaths[l,i,j]

takes a list of parents l and returns the path from i to j encoded in the parent list.

ParentsToPaths[l,i]

returns the paths from i to all vertices.

Details and Options

Wolfram Research (2012), ParentsToPaths, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ParentsToPaths.html.

Text

Wolfram Research (2012), ParentsToPaths, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ParentsToPaths.html.

CMS

Wolfram Language. 2012. "ParentsToPaths." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/ParentsToPaths.html.

APA

Wolfram Language. (2012). ParentsToPaths. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/ParentsToPaths.html

BibTeX

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

BibLaTeX

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