Public Member Functions | Public Attributes

OpenTissue::math::detail::KMeans< V, M >::cluster_type Class Reference

#include <math_kmeans.h>

List of all members.

Public Member Functions

feature_iterator begin ()
feature_iterator end ()
 cluster_type ()
void update ()

Public Attributes

vector_type m_mean
 The mean point, i.e. the cluster center.
matrix_type m_C
 Covariance matrix.
matrix_type m_invC
 The inverse covariance matrix.
size_t m_index
 A unique cluster index.
feature_ptr_container m_features
 Pointers to all features in this cluster.

Detailed Description

template<typename V, typename M>
class OpenTissue::math::detail::KMeans< V, M >::cluster_type

A Cluster Class. This class is used to store information about a given cluster, such as the mean point and co-variance of the cluster.


Constructor & Destructor Documentation

template<typename V , typename M >
OpenTissue::math::detail::KMeans< V, M >::cluster_type::cluster_type (  )  [inline]

Member Function Documentation

template<typename V , typename M >
feature_iterator OpenTissue::math::detail::KMeans< V, M >::cluster_type::begin (  )  [inline]
template<typename V , typename M >
feature_iterator OpenTissue::math::detail::KMeans< V, M >::cluster_type::end (  )  [inline]
template<typename V , typename M >
void OpenTissue::math::detail::KMeans< V, M >::cluster_type::update (  )  [inline]

Member Data Documentation

template<typename V , typename M >
matrix_type OpenTissue::math::detail::KMeans< V, M >::cluster_type::m_C

Covariance matrix.

Pointers to all features in this cluster.

template<typename V , typename M >
size_t OpenTissue::math::detail::KMeans< V, M >::cluster_type::m_index

A unique cluster index.

template<typename V , typename M >
matrix_type OpenTissue::math::detail::KMeans< V, M >::cluster_type::m_invC

The inverse covariance matrix.

template<typename V , typename M >
vector_type OpenTissue::math::detail::KMeans< V, M >::cluster_type::m_mean

The mean point, i.e. the cluster center.


The documentation for this class was generated from the following file: