break_cycles: Break cycles to produce a DAG Given a set of arcs of a...

Description Usage Arguments

Description

Break cycles to produce a DAG Given a set of arcs of a directed graph, if the arcs contain a cycle, break the cycle by reversing low probability arcs.

Usage

1
break_cycles(arc_list, probabilities = NULL)

Arguments

arc_list

a list of arcs/edges from a directed graph structure

probabilities

associated with the arcs. The algorithm will prioritize low probability edges for reversal.

white_list

a list of arcs/edges that are not to be broken.


robertness/bninfo documentation built on May 27, 2019, 10:32 a.m.