Alexandria
2.16
Please provide a description of the project.
|
#include <SOM.h>
Public Types | |
using | CellGridType = GridContainer::GridContainer< std::vector< std::array< double, ND > >, std::size_t, std::size_t > |
using | iterator = typename CellGridType::iterator |
using | const_iterator = typename CellGridType::const_iterator |
Public Member Functions | |
SOM (std::size_t x, std::size_t y, InitFunc::Signature init_func=InitFunc::zero) | |
SOM (SOM< ND, DistFunc > &&)=default | |
SOM & | operator= (SOM< ND, DistFunc > &&)=default |
virtual | ~SOM ()=default |
Destructor. More... | |
std::array< double, ND > & | operator() (std::size_t x, std::size_t y) |
const std::array< double, ND > & | operator() (std::size_t x, std::size_t y) const |
const std::pair< std::size_t, std::size_t > & | getSize () 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::array< double, ND > &input) const |
std::tuple< std::size_t, std::size_t, double > | findBMU (const std::array< double, ND > &input, const std::array< double, ND > &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 | |
CellGridType | m_cells |
std::pair< std::size_t, std::size_t > | m_size |
using Euclid::SOM::SOM< ND, DistFunc >::CellGridType = GridContainer::GridContainer<std::vector<std::array<double, ND> >, std::size_t, std::size_t> |
using Euclid::SOM::SOM< ND, DistFunc >::const_iterator = typename CellGridType::const_iterator |
using Euclid::SOM::SOM< ND, DistFunc >::iterator = typename CellGridType::iterator |
Euclid::SOM::SOM< ND, DistFunc >::SOM | ( | std::size_t | x, |
std::size_t | y, | ||
InitFunc::Signature | init_func = InitFunc::zero |
||
) |
|
default |
|
virtualdefault |
Destructor.
iterator Euclid::SOM::SOM< ND, DistFunc >::begin | ( | ) |
const_iterator Euclid::SOM::SOM< ND, DistFunc >::begin | ( | ) | const |
const_iterator Euclid::SOM::SOM< ND, DistFunc >::cbegin | ( | ) |
const_iterator Euclid::SOM::SOM< ND, DistFunc >::cend | ( | ) |
iterator Euclid::SOM::SOM< ND, DistFunc >::end | ( | ) |
const_iterator Euclid::SOM::SOM< ND, DistFunc >::end | ( | ) | const |
std::tuple<std::size_t, std::size_t, double> Euclid::SOM::SOM< ND, DistFunc >::findBMU | ( | const InputType & | input, |
WeightFunc | weight_func | ||
) | const |
std::tuple<std::size_t, std::size_t, double> Euclid::SOM::SOM< ND, DistFunc >::findBMU | ( | const InputType & | input, |
WeightFunc | weight_func, | ||
UncertaintyFunc | uncertainty_func | ||
) | const |
std::tuple<std::size_t, std::size_t, double> Euclid::SOM::SOM< ND, DistFunc >::findBMU | ( | const std::array< double, ND > & | input | ) | const |
std::tuple<std::size_t, std::size_t, double> Euclid::SOM::SOM< ND, DistFunc >::findBMU | ( | const std::array< double, ND > & | input, |
const std::array< double, ND > & | uncertainties | ||
) | const |
const std::pair<std::size_t, std::size_t>& Euclid::SOM::SOM< ND, DistFunc >::getSize | ( | ) | const |
Referenced by boost::serialization::save_construct_data().
std::array<double, ND>& Euclid::SOM::SOM< ND, DistFunc >::operator() | ( | std::size_t | x, |
std::size_t | y | ||
) |
const std::array<double, ND>& Euclid::SOM::SOM< ND, DistFunc >::operator() | ( | std::size_t | x, |
std::size_t | y | ||
) | const |
|
default |
|
private |
|
private |