Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <SOM.h>
Public Types | |
using | GridCellManager = GridContainer::GridCellManagerVectorOfVectors< double > |
using | CellGridType = GridContainer::GridContainer< GridCellManager, std::size_t, std::size_t > |
using | iterator = typename CellGridType::iterator |
using | const_iterator = typename CellGridType::const_iterator |
using | reference_type = typename CellGridType::reference_type |
Public Member Functions | |
SOM (std::size_t nd, std::size_t x, std::size_t y, InitFunc::Signature init_func=InitFunc::zero) | |
SOM (SOM< DistFunc > &&)=default | |
SOM & | operator= (SOM< DistFunc > &&)=default |
virtual | ~SOM ()=default |
Destructor. | |
reference_type | operator() (std::size_t x, std::size_t y) |
const reference_type | operator() (std::size_t x, std::size_t y) const |
const std::pair< std::size_t, std::size_t > & | getSize () const |
std::size_t | getDimensions () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () |
const_iterator | cend () |
std::tuple< std::size_t, std::size_t, double > | findBMU (const std::vector< double > &input) const |
std::tuple< std::size_t, std::size_t, double > | findBMU (const std::vector< double > &input, const std::vector< double > &uncertainties) const |
template<typename InputType , typename WeightFunc > | |
std::tuple< std::size_t, std::size_t, double > | findBMU (const InputType &input, WeightFunc weight_func) const |
template<typename InputType , typename WeightFunc , typename UncertaintyFunc > | |
std::tuple< std::size_t, std::size_t, double > | findBMU (const InputType &input, WeightFunc weight_func, UncertaintyFunc uncertainty_func) const |
Private Attributes | |
std::size_t | m_dimensions |
CellGridType | m_cells |
std::pair< std::size_t, std::size_t > | m_size |
using Euclid::SOM::SOM< DistFunc >::CellGridType = GridContainer::GridContainer<GridCellManager, std::size_t, std::size_t> |
using Euclid::SOM::SOM< DistFunc >::const_iterator = typename CellGridType::const_iterator |
using Euclid::SOM::SOM< DistFunc >::GridCellManager = GridContainer::GridCellManagerVectorOfVectors<double> |
using Euclid::SOM::SOM< DistFunc >::iterator = typename CellGridType::iterator |
using Euclid::SOM::SOM< DistFunc >::reference_type = typename CellGridType::reference_type |
Euclid::SOM::SOM< DistFunc >::SOM | ( | std::size_t | nd, |
std::size_t | x, | ||
std::size_t | y, | ||
InitFunc::Signature | init_func = InitFunc::zero |
||
) |
|
default |
|
virtualdefault |
Destructor.
iterator Euclid::SOM::SOM< DistFunc >::begin | ( | ) |
const_iterator Euclid::SOM::SOM< DistFunc >::begin | ( | ) | const |
const_iterator Euclid::SOM::SOM< DistFunc >::cbegin | ( | ) |
const_iterator Euclid::SOM::SOM< DistFunc >::cend | ( | ) |
iterator Euclid::SOM::SOM< DistFunc >::end | ( | ) |
const_iterator Euclid::SOM::SOM< DistFunc >::end | ( | ) | const |
std::tuple< std::size_t, std::size_t, double > Euclid::SOM::SOM< DistFunc >::findBMU | ( | const InputType & | input, |
WeightFunc | weight_func | ||
) | const |
std::tuple< std::size_t, std::size_t, double > Euclid::SOM::SOM< DistFunc >::findBMU | ( | const InputType & | input, |
WeightFunc | weight_func, | ||
UncertaintyFunc | uncertainty_func | ||
) | const |
std::tuple< std::size_t, std::size_t, double > Euclid::SOM::SOM< DistFunc >::findBMU | ( | const std::vector< double > & | input | ) | const |
std::tuple< std::size_t, std::size_t, double > Euclid::SOM::SOM< DistFunc >::findBMU | ( | const std::vector< double > & | input, |
const std::vector< double > & | uncertainties | ||
) | const |
std::size_t Euclid::SOM::SOM< DistFunc >::getDimensions | ( | ) | const |
Referenced by boost::serialization::save_construct_data().
const std::pair< std::size_t, std::size_t > & Euclid::SOM::SOM< DistFunc >::getSize | ( | ) | const |
Referenced by boost::serialization::save_construct_data().
reference_type Euclid::SOM::SOM< DistFunc >::operator() | ( | std::size_t | x, |
std::size_t | y | ||
) |
const reference_type Euclid::SOM::SOM< DistFunc >::operator() | ( | std::size_t | x, |
std::size_t | y | ||
) | const |
|
default |
|
private |
|
private |
|
private |