cana.control.sc module
Structural Controllability
- cana.control.sc.sc(directed_graph, keep_self_loops=True)[source]
The Structural Contolability driver sets.
- Parameters:
directed_graph (networkx.DiGraph) – The directed graph capturing the network structure.
keep_self_loops (bool) – Determines if the self loops are kept in the determination of structural control.
- Returns:
A list of sets with the driver nodes.
- Return type:
(list)
See also
If you only need the size of the set, see
sc_min_size().
- cana.control.sc.sc_min_size(directed_graph, keep_self_loops=True)[source]
The minimum number of driver variables required by structural controllability.
- Parameters:
directed_graph (networkx.DiGraph) – The directed graph capturing the network structure.
keep_self_loops (bool) – Determines if the self loops are kept in the determination of structural control.
- Returns:
The number of driver variables necessary to render the graph structurally controlled.
- Return type:
(int)
See also