Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
icl::math::SOM2D Class Reference

Simple Wrapper class of the generic SOM Implementation for 2D SOMs. More...

#include <SOM2D.h>

Inheritance diagram for icl::math::SOM2D:
icl::math::SOM

List of all members.

Public Member Functions

 SOM2D (unsigned int dataDim, unsigned int nXCells, unsigned int nYCells, const std::vector< utils::Range< float > > &prototypeBounds, float epsilon=0.1, float sigma=1)
 Wrapper constructor for 2D SOMs.
const NeurongetNeuron (int x, int y) const
 Wrapper function to access a neuron at a certain grid position.

Detailed Description

Simple Wrapper class of the generic SOM Implementation for 2D SOMs.

As the SOM class provides a very abstract interface for generic K-D Self Organizing Maps, the SOM2D class offers a more convenient interface for exactly 2D SOMs.
Therefore it has a specialized constructor (now receiving the count of x-Cells and y-Cells directly as well as a specialized getNeuron()- function.


Constructor & Destructor Documentation

icl::math::SOM2D::SOM2D ( unsigned int  dataDim,
unsigned int  nXCells,
unsigned int  nYCells,
const std::vector< utils::Range< float > > &  prototypeBounds,
float  epsilon = 0.1,
float  sigma = 1 
) [inline]

Wrapper constructor for 2D SOMs.

Parameters:
dataDimdimension of data elements and therewith dimension of prototype vectors
nXCellscell count of the SOM in x-direction
nYCellscell count of the SOM in y-direction
prototypeBounds
See also:
SOM
Parameters:
epsilon
See also:
SOM
Parameters:
sigma
See also:
SOM

Member Function Documentation

const Neuron& icl::math::SOM2D::getNeuron ( int  x,
int  y 
) const [inline]

Wrapper function to access a neuron at a certain grid position.

Parameters:
xx-grid locatio of the neuron
yy-grid locatio of the neuron

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines