Public Member Functions | Public Attributes

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

#include <math_kmeans.h>

List of all members.

Public Member Functions

 membership_info ()
 membership_info (size_t const &idx, vector_type *p)
 membership_info (membership_info const &info)

Public Attributes

size_t m_index
 The index of the original feature point.
cluster_typem_cluster
 A pointer to the cluster that the feature point belongs to.
vector_typem_p
 A pointer to the feature vector.

Detailed Description

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

Feature Point Cluster Membership Information. This class encapsulates information about feature points such as indexes and the cluster they belong to.


Constructor & Destructor Documentation

template<typename V , typename M >
OpenTissue::math::detail::KMeans< V, M >::membership_info::membership_info (  )  [inline]
template<typename V , typename M >
OpenTissue::math::detail::KMeans< V, M >::membership_info::membership_info ( size_t const &  idx,
vector_type p 
) [inline]
template<typename V , typename M >
OpenTissue::math::detail::KMeans< V, M >::membership_info::membership_info ( membership_info const &  info  )  [inline]

Member Data Documentation

template<typename V , typename M >
cluster_type* OpenTissue::math::detail::KMeans< V, M >::membership_info::m_cluster

A pointer to the cluster that the feature point belongs to.

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

The index of the original feature point.

template<typename V , typename M >
vector_type* OpenTissue::math::detail::KMeans< V, M >::membership_info::m_p

A pointer to the feature vector.


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