Definition at line 127 of file NodeNetwork.cpp.
128{
129 switch (topo) {
131 return "INDEPENDENT";
133 return "CHAIN";
135 return "RING";
137 return "GRID_2D";
139 return "GRID_3D";
141 return "SPATIAL";
143 return "CUSTOM";
144 default:
145 return "UNKNOWN";
146 }
147}
@ 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().