Classes | Namespaces | Functions

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/core/math/math_kmeans.h File Reference

#include <OpenTissue/configuration.h>
#include <OpenTissue/core/math/math_random.h>
#include <OpenTissue/core/math/math_matrix3x3.h>
#include <OpenTissue/core/math/math_covariance.h>
#include <OpenTissue/core/math/math_constants.h>
#include <OpenTissue/core/math/math_value_traits.h>
#include <boost/iterator/indirect_iterator.hpp>
#include <algorithm>
#include <list>
#include <vector>
#include <cassert>

Go to the source code of this file.

Classes

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

Namespaces

namespace  OpenTissue
namespace  OpenTissue::math
namespace  OpenTissue::math::detail

Functions

template<typename vector_iterator , typename vector_container , typename index_container >
void OpenTissue::math::kmeans (vector_iterator const &begin, vector_iterator const &end, vector_container &centers, index_container &membership, size_t K, size_t &iteration, size_t const &max_iterations)