Definition in file mmn_make_tri_tree.h.
#include <vnl/vnl_matrix.h>
#include <mmn/mmn_arc.h>
#include <vcl_vector.h>
Go to the source code of this file.
Functions | |
| void | mmn_make_tri_tree (const vnl_matrix< double > &D, vcl_vector< mmn_arc > &arcs, int v0=-1) |
| Compute arcs defining a graph s.t. triangles form a tree. | |
|
||||||||||||||||
|
Compute arcs defining a graph s.t. triangles form a tree. Compute arc of graph such that point belongs to at least one triangle, and the graph of triangles is a tree (acylcic). Two triangles are neighbours if they share an edge (arc). The approach is to select nodes one at a time, at each step choosing the node closest to two nodes ending an existing arc. This gives two new arcs. Complexity is approximately O(n^2)
|
1.4.4