Alexandria 2.32.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::SOM::NeighborhoodFunc::Kohonen Class Reference

#include <NeighborhoodFunc.h>

Collaboration diagram for Euclid::SOM::NeighborhoodFunc::Kohonen:

Public Member Functions

 Kohonen (std::size_t x_size, std::size_t y_size, double sigma_cutoff_mult)
double operator() (std::pair< std::size_t, std::size_t > bmu, std::pair< std::size_t, std::size_t > cell, std::size_t iteration, std::size_t total_iterations)

Private Attributes

const double m_init_sigma
const double m_sigma_log
const double m_cutoff_mult_square
std::size_t m_last_iteration = 0
std::size_t m_last_total = 0
double m_sigma_square = 0.

Detailed Description

Definition at line 46 of file NeighborhoodFunc.h.

Constructor & Destructor Documentation

◆ Kohonen()

Euclid::SOM::NeighborhoodFunc::Kohonen::Kohonen ( std::size_t x_size,
std::size_t y_size,
double sigma_cutoff_mult )

Definition at line 41 of file NeihbourhoodFunc.cpp.

References m_cutoff_mult_square, m_init_sigma, and m_sigma_log.

Member Function Documentation

◆ operator()()

double Euclid::SOM::NeighborhoodFunc::Kohonen::operator() ( std::pair< std::size_t, std::size_t > bmu,
std::pair< std::size_t, std::size_t > cell,
std::size_t iteration,
std::size_t total_iterations )
inline

Definition at line 50 of file NeighborhoodFunc.h.

References std::exp(), m_cutoff_mult_square, m_init_sigma, m_last_iteration, m_last_total, m_sigma_log, and m_sigma_square.

Here is the call graph for this function:

Member Data Documentation

◆ m_cutoff_mult_square

const double Euclid::SOM::NeighborhoodFunc::Kohonen::m_cutoff_mult_square
private

Definition at line 76 of file NeighborhoodFunc.h.

Referenced by Kohonen(), and operator()().

◆ m_init_sigma

const double Euclid::SOM::NeighborhoodFunc::Kohonen::m_init_sigma
private

Definition at line 74 of file NeighborhoodFunc.h.

Referenced by Kohonen(), and operator()().

◆ m_last_iteration

std::size_t Euclid::SOM::NeighborhoodFunc::Kohonen::m_last_iteration = 0
private

Definition at line 77 of file NeighborhoodFunc.h.

Referenced by operator()().

◆ m_last_total

std::size_t Euclid::SOM::NeighborhoodFunc::Kohonen::m_last_total = 0
private

Definition at line 78 of file NeighborhoodFunc.h.

Referenced by operator()().

◆ m_sigma_log

const double Euclid::SOM::NeighborhoodFunc::Kohonen::m_sigma_log
private

Definition at line 75 of file NeighborhoodFunc.h.

Referenced by Kohonen(), and operator()().

◆ m_sigma_square

double Euclid::SOM::NeighborhoodFunc::Kohonen::m_sigma_square = 0.
private

Definition at line 79 of file NeighborhoodFunc.h.

Referenced by operator()().


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