Definition at line 107 of file NodeNetwork.cpp.
108{
109 switch (topo) {
111 return "INDEPENDENT";
113 return "CHAIN";
115 return "RING";
117 return "GRID_2D";
119 return "GRID_3D";
121 return "SPATIAL";
123 return "CUSTOM";
124 default:
125 return "UNKNOWN";
126 }
127}
@ CHAIN
Linear sequence: node[i] → node[i+1].
@ GRID_2D
2D lattice with 4-connectivity
@ INDEPENDENT
No connections, nodes process independently.
@ CUSTOM
User-defined arbitrary topology.
@ GRID_3D
3D lattice with 6-connectivity
@ SPATIAL
Dynamic proximity-based (nodes within radius interact)
@ RING
Circular: last node connects to first.
References CHAIN, CUSTOM, GRID_2D, GRID_3D, INDEPENDENT, RING, and SPATIAL.
Referenced by get_metadata().