latest version v1.9 - last update 10 Apr 2010 |
Computes a minimum spanning tree. More...
#include <ltiMinimumSpanningTreeOfKeytype.h>
Public Types | |
typedef minimumSpanningTree< K, V, Distantor >::parameters | parameters |
typedef minimumSpanningTree< K, V, Distantor >::distance_type | distance_type |
typedef minimumSpanningTree< K, V, Distantor >::key_value_type | key_value_type |
Public Member Functions | |
minimumSpanningTreeOfKeytype () | |
minimumSpanningTreeOfKeytype (const parameters &par) | |
minimumSpanningTreeOfKeytype (const minimumSpanningTreeOfKeytype &other) | |
virtual | ~minimumSpanningTreeOfKeytype () |
virtual const char * | getTypeName () const |
bool | apply (const matrix< K > &src, const matrix< V > &datas, weightedGraph< K, V, distance_type > &graph) const |
minimumSpanningTreeOfKeytype & | copy (const minimumSpanningTreeOfKeytype &other) |
minimumSpanningTreeOfKeytype & | operator= (const minimumSpanningTreeOfKeytype &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
Computes a minimum spanning tree.
This class computes a minimum spanning tree from a matrix where each element in the matrix represents one key (data point), e.g. a matrix of rgbPixel (which is an image).
typedef minimumSpanningTree<K,V,Distantor>::distance_type lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::distance_type |
Distance type.
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
typedef minimumSpanningTree<K,V,Distantor>::key_value_type lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::key_value_type |
Key Value Type.
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
typedef minimumSpanningTree<K,V,Distantor>::parameters lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::parameters |
This class uses the same parameters as its base class.
lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::minimumSpanningTreeOfKeytype | ( | ) |
default constructor
lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::minimumSpanningTreeOfKeytype | ( | const parameters & | par | ) |
Construct a functor using the given parameters.
lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::minimumSpanningTreeOfKeytype | ( | const minimumSpanningTreeOfKeytype< K, V, Distantor > & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::~minimumSpanningTreeOfKeytype | ( | ) | [virtual] |
destructor
bool lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::apply | ( | const matrix< K > & | src, | |
const matrix< V > & | datas, | |||
weightedGraph< K, V, distance_type > & | graph | |||
) | const |
virtual functor* lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
minimumSpanningTreeOfKeytype& lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::copy | ( | const minimumSpanningTreeOfKeytype< K, V, Distantor > & | other | ) |
copy data of "other" functor.
other | the functor to be copied |
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
const parameters& lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
virtual const char* lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("minimumSpanningTreeOfKeytype")
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
minimumSpanningTreeOfKeytype& lti::minimumSpanningTreeOfKeytype< K, V, Distantor >::operator= | ( | const minimumSpanningTreeOfKeytype< K, V, Distantor > & | other | ) |
alias for copy member
other | the functor to be copied |
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.