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

◆ topology_to_string()

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

Definition at line 127 of file NodeNetwork.cpp.

128{
129 switch (topo) {
131 return "INDEPENDENT";
132 case Topology::CHAIN:
133 return "CHAIN";
134 case Topology::RING:
135 return "RING";
137 return "GRID_2D";
139 return "GRID_3D";
141 return "SPATIAL";
142 case Topology::CUSTOM:
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().

+ Here is the caller graph for this function: