47 int cccmp(
const void* e1,
const void* e2);
void destroy_component(connected_component cc)
Destroy a connected component by freeing its pointers (i.e., Is). The array to be freed must have bee...
Definition: component.c:36
connected_component copy_component(const connected_component cc)
Create a deep copy of a connected component.
Definition: component.c:19
int cccmp(const void *e1, const void *e2)
Compare two connected components according to their size and potentially the number of junctions.
Definition: component.c:7
Connected component of the Nanowire Network. It contains all the information needed to identify the n...
Definition: component.h:24
int ws_skip
Definition: component.h:29
int js_skip
Definition: component.h:31
int ws_count
Definition: component.h:25
int * Is
Definition: component.h:33
int js_count
Definition: component.h:27