latest version v1.9 - last update 10 Apr 2010 |
Computes a minimum spanning tree of a given data set. More...
#include <ltiMinimumSpanningTreeOfKeyValuetype.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 | |
minimumSpanningTreeOfKeyValuetype () | |
minimumSpanningTreeOfKeyValuetype (const parameters &par) | |
minimumSpanningTreeOfKeyValuetype (const minimumSpanningTreeOfKeyValuetype &other) | |
virtual | ~minimumSpanningTreeOfKeyValuetype () |
virtual const char * | getTypeName () const |
bool | apply (const matrix< key_value_type > &src, const vector< V > &datas, weightedGraph< K, V, distance_type > &graph) const |
minimumSpanningTreeOfKeyValuetype & | copy (const minimumSpanningTreeOfKeyValuetype &other) |
minimumSpanningTreeOfKeyValuetype & | operator= (const minimumSpanningTreeOfKeyValuetype &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
Computes a minimum spanning tree of a given data set.
Computes the minimum spanning tree from a matrix of K::valuetype elements, e.g. a matrix of doubles where each row represents one data point.
typedef minimumSpanningTree<K,V,Distantor>::distance_type lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::distance_type |
Distance type.
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
typedef minimumSpanningTree<K,V,Distantor>::key_value_type lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::key_value_type |
Key Value Type.
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
typedef minimumSpanningTree<K,V,Distantor>::parameters lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::parameters |
This class uses the same parameters as its base class.
lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::minimumSpanningTreeOfKeyValuetype | ( | ) |
default constructor
lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::minimumSpanningTreeOfKeyValuetype | ( | const parameters & | par | ) |
Construct a functor using the given parameters.
lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::minimumSpanningTreeOfKeyValuetype | ( | const minimumSpanningTreeOfKeyValuetype< K, V, Distantor > & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::~minimumSpanningTreeOfKeyValuetype | ( | ) | [virtual] |
destructor
bool lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::apply | ( | const matrix< key_value_type > & | src, | |
const vector< V > & | datas, | |||
weightedGraph< K, V, distance_type > & | graph | |||
) | const |
virtual functor* lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
minimumSpanningTreeOfKeyValuetype& lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::copy | ( | const minimumSpanningTreeOfKeyValuetype< 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::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
virtual const char* lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("minimumSpanningTreeOfKeyValuetype")
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.
minimumSpanningTreeOfKeyValuetype& lti::minimumSpanningTreeOfKeyValuetype< K, V, Distantor >::operator= | ( | const minimumSpanningTreeOfKeyValuetype< K, V, Distantor > & | other | ) |
alias for copy member
other | the functor to be copied |
Reimplemented from lti::minimumSpanningTree< K, V, Distantor >.