cana.control.mds module
Minimum Dominating Set
- cana.control.mds.mds(directed_graph, max_search=5, keep_self_loops=True)[source]
The minimum dominating set method.
- Parameters:
directed_graph (networkx.DiGraph) – The interaction graph.
max_search (int) – Maximum search of additional variables. Defaults to 5.
keep_self_loops (bool) – If self-loops are used in the computation.
- Returns:
A list of sets with the driver nodes.
- Return type:
(list)