|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| EdgeList MayaFlux::Kinesis::nearest_neighbor_graph | ( | const Eigen::MatrixXd & | points | ) |
Compute nearest neighbor graph.
| points | DxN matrix where each column is a point |
Connects each point to its single nearest neighbor. Directed graph: point i connects to nearest neighbor j, but j may connect to a different point k.
Complexity: O(n²) brute force
Definition at line 206 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: