46template <
typename DistFunc = Distance::L2>
50 "DistFunc must be a subclass of the Distance::Interface");
94 template <
typename InputType,
typename WeightFunc>
97 template <
typename InputType,
typename WeightFunc,
typename Uncerta
intyFunc>
99 UncertaintyFunc uncertainty_func)
const;
iter< cell_type const, pointer_type const, reference_type const > const_iterator
decltype(ref_test< GridCellManagerTraits< GridCellManager > >(nullptr)) reference_type
Reference type.
iter< cell_type, pointer_type, reference_type > iterator
typename CellGridType::const_iterator const_iterator
const reference_type operator()(std::size_t x, std::size_t y) const
std::tuple< std::size_t, std::size_t, double > findBMU(const std::vector< double > &input) const
typename CellGridType::reference_type reference_type
virtual ~SOM()=default
Destructor.
const std::pair< std::size_t, std::size_t > & getSize() const
std::tuple< std::size_t, std::size_t, double > findBMU(const std::vector< double > &input, const std::vector< double > &uncertainties) const
const_iterator begin() const
reference_type operator()(std::size_t x, std::size_t y)
std::tuple< std::size_t, std::size_t, double > findBMU(const InputType &input, WeightFunc weight_func, UncertaintyFunc uncertainty_func) const
std::tuple< std::size_t, std::size_t, double > findBMU(const InputType &input, WeightFunc weight_func) const
typename CellGridType::iterator iterator
SOM(SOM< DistFunc > &&)=default
const_iterator end() const
std::size_t getDimensions() const
SOM & operator=(SOM< DistFunc > &&)=default
SOM(std::size_t nd, std::size_t x, std::size_t y, InitFunc::Signature init_func=InitFunc::zero)
std::pair< std::size_t, std::size_t > m_size