Combinatorica Package >

ParentsToPaths

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.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team