|
Alexandria 2.32.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 ) |
Definition at line 30 of file SOM.icpp.
References m_cells, m_dimensions, and m_size.
Referenced by operator=(), and SOM().
|
default |
|
virtualdefault |
Destructor.
| SOM< DistFunc >::iterator Euclid::SOM::SOM< DistFunc >::begin | ( | ) |
| SOM< DistFunc >::const_iterator Euclid::SOM::SOM< DistFunc >::begin | ( | ) | const |
| SOM< DistFunc >::const_iterator Euclid::SOM::SOM< DistFunc >::cbegin | ( | ) |
| SOM< DistFunc >::const_iterator Euclid::SOM::SOM< DistFunc >::cend | ( | ) |
| SOM< DistFunc >::iterator Euclid::SOM::SOM< DistFunc >::end | ( | ) |
| SOM< DistFunc >::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 |
Definition at line 95 of file SOM.icpp.
References begin(), std::vector< T >::cbegin(), end(), m_dimensions, std::make_tuple(), std::numeric_limits::max(), and std::vector< T >::size().
Referenced by findBMU(), and findBMU().

| 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 |
Definition at line 112 of file SOM.icpp.
References begin(), std::vector< T >::cbegin(), end(), m_dimensions, std::make_tuple(), std::numeric_limits::max(), and std::vector< T >::size().

| std::size_t Euclid::SOM::SOM< DistFunc >::getDimensions | ( | ) | const |
Definition at line 50 of file SOM.icpp.
References m_dimensions.
Referenced by boost::serialization::save_construct_data().
| const std::pair< std::size_t, std::size_t > & Euclid::SOM::SOM< DistFunc >::getSize | ( | ) | const |
Definition at line 45 of file SOM.icpp.
References m_size.
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 |