Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::SOM::SOMTrainer< NeighborhoodFunction > Class Template Reference

#include <SOMTrainer.h>

Collaboration diagram for Euclid::SOM::SOMTrainer< NeighborhoodFunction >:

Public Member Functions

 SOMTrainer (NeighborhoodFunction neighborhood_func, LearningRestraintFunc::Signature learning_restraint_func)
template<typename DistFunc, typename InputIter, typename InputToWeightFunc, template< class > class Sampler = SamplingPolicy::FullSet>
void train (SOM< DistFunc > &som, std::size_t iter_no, InputIter begin, InputIter end, InputToWeightFunc weight_func, const Sampler< InputIter > &sampling_policy=Sampler< InputIter >{})

Private Attributes

NeighborhoodFunction m_neighborhood_func
LearningRestraintFunc::Signature m_learning_restraint_func

Detailed Description

template<typename NeighborhoodFunction>
class Euclid::SOM::SOMTrainer< NeighborhoodFunction >

Definition at line 36 of file SOMTrainer.h.

Constructor & Destructor Documentation

◆ SOMTrainer()

template<typename NeighborhoodFunction>
Euclid::SOM::SOMTrainer< NeighborhoodFunction >::SOMTrainer ( NeighborhoodFunction neighborhood_func,
LearningRestraintFunc::Signature learning_restraint_func )
inline

Definition at line 39 of file SOMTrainer.h.

References m_learning_restraint_func, and m_neighborhood_func.

Member Function Documentation

◆ train()

template<typename NeighborhoodFunction>
template<typename DistFunc, typename InputIter, typename InputToWeightFunc, template< class > class Sampler = SamplingPolicy::FullSet>
void Euclid::SOM::SOMTrainer< NeighborhoodFunction >::train ( SOM< DistFunc > & som,
std::size_t iter_no,
InputIter begin,
InputIter end,
InputToWeightFunc weight_func,
const Sampler< InputIter > & sampling_policy = Sampler<InputIter>{} )
inline

Definition at line 45 of file SOMTrainer.h.

Member Data Documentation

◆ m_learning_restraint_func

template<typename NeighborhoodFunction>
LearningRestraintFunc::Signature Euclid::SOM::SOMTrainer< NeighborhoodFunction >::m_learning_restraint_func
private

Definition at line 93 of file SOMTrainer.h.

Referenced by SOMTrainer().

◆ m_neighborhood_func

template<typename NeighborhoodFunction>
NeighborhoodFunction Euclid::SOM::SOMTrainer< NeighborhoodFunction >::m_neighborhood_func
private

Definition at line 92 of file SOMTrainer.h.

Referenced by SOMTrainer().


The documentation for this class was generated from the following file: