Get a directed graph from a predecessor vector
GetDominatorTree(predecessors, weighted_graph = NULL)
Arguments
predecessors |
a predecessor vector, such that predecessors[i] = the predecessor of i |
weighted_graph |
a weighted igraph object |
Value
a directed igraph object