MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ topology_to_string()

std::string MayaFlux::Nodes::NodeNetwork::topology_to_string ( Topology  topo)
staticprivate

Definition at line 107 of file NodeNetwork.cpp.

108{
109 switch (topo) {
111 return "INDEPENDENT";
112 case Topology::CHAIN:
113 return "CHAIN";
114 case Topology::RING:
115 return "RING";
117 return "GRID_2D";
119 return "GRID_3D";
121 return "SPATIAL";
122 case Topology::CUSTOM:
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().

+ Here is the caller graph for this function: