Role annotations#
Label every node and edge of a network by its role in controllability and observability.
annotate() collects, in two tables, everything the toolbox knows about a network
and an input/output configuration: the role of every state variable (driver or sensor
node, critical / intermittent / redundant across all maximum matchings, driver and
sensor type), its place in the structure (strongly connected component, source or sink
component, level of the hierarchy, stem or bud of a control cactus) and its distances
(control and observation depth, nearest driver and sensor); for every edge whether it
is matched, its class across all maximum matchings, its part in the cacti and its
connection type. The tables are the basis of every export of nocad.io: they
become node and edge attributes in GraphML, GEXF, Cytoscape JSON, DOT and CSV files, so
that other tools (Gephi, Cytoscape, Graphviz, yEd, spreadsheets) can filter and style
the network by the same roles.
Conventions: unreachable distances are -1; levels count strongly connected
components from the source components (control_level) or to the sink components
(observation_level); the classes column joins the categorical roles into one
space-separated string (the CSS-like classes of Cytoscape.js).
Node and edge tables with the controllability and observability role of every element.
Functions#
|
Node and edge tables with the controllability and observability role of every element. |
|
Node table of |
|
Edge table of |
|
Longest-path levels of the strongly connected components. |
Constants#
Columns of the node table and their meaning. |
|
Columns of the edge table and their meaning. |