Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
nearest_neighbor_graph.cpp File Reference
Include dependency graph for nearest_neighbor_graph.cpp:

Go to the source code of this file.

Functions

SparseMatrix nearest_neighbor_graph (int nPts, int num_neighbors, const std::vector< double > &x)
 

Function Documentation

◆ nearest_neighbor_graph()

SparseMatrix nearest_neighbor_graph ( int  nPts,
int  num_neighbors,
const std::vector< double > &  x 
)

Definition at line 17 of file nearest_neighbor_graph.cpp.

References MATRIX_TYPE_REAL, nearest_neighbor_graph_ann(), and SparseMatrix_from_coordinate_arrays().

Referenced by agglomerative_ink_bundling_internal(), and bundle().

Here is the call graph for this function:
Here is the caller graph for this function: