Identify the correct order to process paths so that preceding paths have already been simulated.

getPathOrder(path.from)

Arguments

path.from

vector giving the path endpoints that each path originates from.

Value

Vector giving the order to process paths in.