nns.c
1.0.1
Nanowire Network simulator
|
Connected component of the Nanowire Network. It contains all the information needed to identify the nanowires and junctions in it. Additionally, it contains the index of the junctions in the CC-specific adjacency matrix. More...
#include <component.h>
Public Attributes | |
int | ws_count |
int | js_count |
int | ws_skip |
int | js_skip |
int * | Is |
Connected component of the Nanowire Network. It contains all the information needed to identify the nanowires and junctions in it. Additionally, it contains the index of the junctions in the CC-specific adjacency matrix.
int* connected_component::Is |
Linearized index of the junctions (i.e., junction(i, j) = junction(i * size + j)) in the CC-specific adjacency matrix. Ordered to specify the position of the Ys(i, j) weights.
int connected_component::js_count |
Number of junctions in the connected component.
int connected_component::js_skip |
Start index of the CC sub-array in the ns arrays (for junctions).
int connected_component::ws_count |
Number of nanowires in the connected component.
int connected_component::ws_skip |
Start index of the CC sub-array in the ns arrays (for nanowires).