Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Euclid::SOM::SOMTrainer< NeighborhoodFunction > Class Template Reference

#include <SOMTrainer.h>

Collaboration diagram for Euclid::SOM::SOMTrainer< NeighborhoodFunction >:
Collaboration graph
[legend]

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.

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.

◆ m_neighborhood_func

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

Definition at line 92 of file SOMTrainer.h.


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