GetPredecessors: Get the predecessor vector for a dominator tree encoded as an...

View source: R/TreeFunctions.R

GetPredecessorsR Documentation

Get the predecessor vector for a dominator tree encoded as an undirected tree and root

Description

Get the predecessor vector for a dominator tree encoded as an undirected tree and root

Usage

GetPredecessors(minspantree, root)

Arguments

minspantree

the tree to be directionalized

root

the id of the root

Value

a vector[] of node ids, where vector[i] is the predecessor of node i


mkarikom/RSoptSC documentation built on May 10, 2023, 1:10 a.m.