CMeans::SparseProbmap Class Reference

#include <mia/core/cmeans.hh>

Public Types

typedef std::vector< value_typeMap
 
typedef std::pair< unsigned short, DVectorvalue_type
 

Public Member Functions

Map::const_iterator begin () const
 
Map::iterator begin ()
 
Map::const_iterator end () const
 
Map::iterator end ()
 
DVector get_fuzzy (double x) const
 
value_typeoperator[] (int i)
 
const value_typeoperator[] (int i) const
 
bool save (const std::string &filename) const
 
size_t size () const
 
 SparseProbmap ()=delete
 
 SparseProbmap (size_t size)
 
 SparseProbmap (const std::string &filename)
 

Detailed Description

Definition at line 36 of file cmeans.hh.

Member Typedef Documentation

◆ Map

typedef std::vector<value_type> CMeans::SparseProbmap::Map

Definition at line 39 of file cmeans.hh.

◆ value_type

typedef std::pair<unsigned short, DVector> CMeans::SparseProbmap::value_type

Definition at line 38 of file cmeans.hh.

Constructor & Destructor Documentation

◆ SparseProbmap() [1/3]

CMeans::SparseProbmap::SparseProbmap ( )
delete

◆ SparseProbmap() [2/3]

CMeans::SparseProbmap::SparseProbmap ( size_t  size)

◆ SparseProbmap() [3/3]

CMeans::SparseProbmap::SparseProbmap ( const std::string &  filename)

Member Function Documentation

◆ begin() [1/2]

Map::const_iterator CMeans::SparseProbmap::begin ( ) const
inline

Definition at line 53 of file cmeans.hh.

◆ begin() [2/2]

Map::iterator CMeans::SparseProbmap::begin ( )
inline

Definition at line 56 of file cmeans.hh.

◆ end() [1/2]

Map::const_iterator CMeans::SparseProbmap::end ( ) const
inline

Definition at line 60 of file cmeans.hh.

◆ end() [2/2]

Map::iterator CMeans::SparseProbmap::end ( )
inline

Definition at line 63 of file cmeans.hh.

◆ get_fuzzy()

DVector CMeans::SparseProbmap::get_fuzzy ( double  x) const

◆ operator[]() [1/2]

value_type& CMeans::SparseProbmap::operator[] ( int  i)
inline

Definition at line 45 of file cmeans.hh.

◆ operator[]() [2/2]

const value_type& CMeans::SparseProbmap::operator[] ( int  i) const
inline

Definition at line 49 of file cmeans.hh.

◆ save()

bool CMeans::SparseProbmap::save ( const std::string &  filename) const

◆ size()

size_t CMeans::SparseProbmap::size ( ) const
inline

Definition at line 72 of file cmeans.hh.


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