#include "mbl_minimum_spanning_tree.h"#include <vnl/vnl_matrix.h>#include <vnl/vnl_vector.h>#include <vcl_algorithm.h>Go to the source code of this file.
Functions | |
| void | mbl_minimum_spanning_tree (const vnl_matrix< double > &D, vcl_vector< vcl_pair< int, int > > &pairs) |
| Compute the minimum spanning tree given a distance matrix. | |
| void | mbl_minimum_spanning_tree (const vcl_vector< vgl_point_2d< double > > &pts, vcl_vector< vcl_pair< int, int > > &pairs) |
| Compute the minimum spanning tree of given points. | |
| void | mbl_minimum_spanning_tree (const vcl_vector< vgl_point_3d< double > > &pts, vcl_vector< vcl_pair< int, int > > &pairs) |
| Compute the minimum spanning tree of given points. | |
Definition in file mbl_minimum_spanning_tree.cxx.
| void mbl_minimum_spanning_tree | ( | const vnl_matrix< double > & | D, |
| vcl_vector< vcl_pair< int, int > > & | pairs | ||
| ) |
Compute the minimum spanning tree given a distance matrix.
| pairs[0].first | is the root node Tree defined by pairs. |
| pairs[i].second | is linked to |
| pairs[i].first | We compute the minimum spanning tree of the graph using Prim's algorithm. |
Definition at line 35 of file mbl_minimum_spanning_tree.cxx.
| void mbl_minimum_spanning_tree | ( | const vcl_vector< vgl_point_2d< double > > & | pts, |
| vcl_vector< vcl_pair< int, int > > & | pairs | ||
| ) |
Compute the minimum spanning tree of given points.
| pairs[0].first | is the root node Tree defined by pairs. |
| pairs[i].second | is linked to |
| pairs[i].first | We compute the minimum spanning tree of the graph using Prim's algorithm. |
Definition at line 66 of file mbl_minimum_spanning_tree.cxx.
| void mbl_minimum_spanning_tree | ( | const vcl_vector< vgl_point_3d< double > > & | pts, |
| vcl_vector< vcl_pair< int, int > > & | pairs | ||
| ) |
Compute the minimum spanning tree of given points.
| pairs[0].first | is the root node Tree defined by pairs. |
| pairs[i].second | is linked to |
| pairs[i].first | We compute the minimum spanning tree of the graph using Prim's algorithm. |
Definition at line 87 of file mbl_minimum_spanning_tree.cxx.
1.7.5.1