|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| EdgeList MayaFlux::Kinesis::minimum_spanning_tree | ( | const Eigen::MatrixXd & | points | ) |
Compute minimum spanning tree (Prim's algorithm)
| points | DxN matrix where each column is a point |
Returns exactly (n-1) edges forming tree of minimum total length that connects all points. Undirected acyclic graph.
Complexity: O(n² log n) with priority queue
Definition at line 116 of file ProximityGraphs.cpp.
References MayaFlux::Journal::Kinesis, MF_DEBUG, and MayaFlux::Journal::Runtime.
Referenced by generate_proximity_graph().
Here is the caller graph for this function: