|
Alexandria
2.27.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. More... | |
| 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 Euclid::SOM::SOM< DistFunc >::m_cells.
|
default |
|
virtualdefault |
Destructor.
| SOM< DistFunc >::iterator Euclid::SOM::SOM< DistFunc >::begin | ( | ) |
Definition at line 65 of file SOM.icpp.
References Euclid::SOM::SOM< DistFunc >::begin().
Referenced by Euclid::SOM::SOM< DistFunc >::begin().

| SOM< DistFunc >::const_iterator Euclid::SOM::SOM< DistFunc >::begin | ( | ) | const |
Definition at line 75 of file SOM.icpp.
References Euclid::SOM::SOM< DistFunc >::begin().

| SOM< DistFunc >::const_iterator Euclid::SOM::SOM< DistFunc >::cbegin | ( | ) |
Definition at line 85 of file SOM.icpp.
References Euclid::SOM::SOM< DistFunc >::cbegin().
Referenced by Euclid::SOM::SOM< DistFunc >::cbegin().

| SOM< DistFunc >::const_iterator Euclid::SOM::SOM< DistFunc >::cend | ( | ) |
Definition at line 90 of file SOM.icpp.
References Euclid::SOM::SOM< DistFunc >::cend().
Referenced by Euclid::SOM::SOM< DistFunc >::cend().

| SOM< DistFunc >::iterator Euclid::SOM::SOM< DistFunc >::end | ( | ) |
Definition at line 70 of file SOM.icpp.
References Euclid::SOM::SOM< DistFunc >::end().
Referenced by Euclid::SOM::SOM< DistFunc >::end().

| SOM< DistFunc >::const_iterator Euclid::SOM::SOM< DistFunc >::end | ( | ) | const |
Definition at line 80 of file SOM.icpp.
References Euclid::SOM::SOM< DistFunc >::end().

| 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 std::vector< T >::cbegin(), std::make_tuple(), std::numeric_limits::max(), and std::vector< T >::size().

| 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 std::vector< T >::cbegin(), std::make_tuple(), std::numeric_limits::max(), and std::vector< T >::size().

| 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::size_t Euclid::SOM::SOM< DistFunc >::getDimensions | ( | ) | const |
Definition at line 50 of file SOM.icpp.
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.
Referenced by boost::serialization::save_construct_data().
| auto Euclid::SOM::SOM< DistFunc >::operator() | ( | std::size_t | x, |
| std::size_t | y | ||
| ) |
| auto Euclid::SOM::SOM< DistFunc >::operator() | ( | std::size_t | x, |
| std::size_t | y | ||
| ) | const |
|
default |
|
private |
Definition at line 103 of file SOM.h.
Referenced by Euclid::SOM::SOM< DistFunc >::SOM().
|
private |
|
private |
1.8.5