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;
Representation of a multi-dimensional grid which contains axis information.
iter< cell_type const, pointer_type const, reference_type const > const_iterator
decltype(ref_test< GridCellManagerTraits< GridCellManager > >(nullptr)) reference_type
iter< cell_type, pointer_type, reference_type > iterator
typename CellGridType::const_iterator const_iterator
GridContainer::GridCellManagerVectorOfVectors< double > GridCellManager
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
reference_type operator()(std::size_t x, std::size_t y)
GridContainer::GridContainer< GridCellManager, std::size_t, std::size_t > CellGridType
typename CellGridType::iterator iterator
SOM(SOM< DistFunc > &&)=default
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
std::function< double()> Signature