GetDominatorTree: Get a directed graph from a predecessor vector

View source: R/TreeFunctions.R

GetDominatorTreeR Documentation

Get a directed graph from a predecessor vector

Description

Get a directed graph from a predecessor vector

Usage

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


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