GClasses
GClasses::SOM::UniformWindowFunction Class Reference

Detailed Description

Uses a unit-height, zero-mean Uniform weighting with the width being the radius of the circle anything beyond width is 0.

#include <GSelfOrganizingMap.h>

Inheritance diagram for GClasses::SOM::UniformWindowFunction:
GClasses::SOM::NeighborhoodWindowFunction

Public Member Functions

virtual ~UniformWindowFunction ()
 Virtual destructor for good memory hygiene. More...
 
virtual double minZeroDistance (double width) const
 The Uniform is truncated to 0 at a distance of width. More...
 
virtual double operator() (double width, double distance) const
 Returns if distance < width, 1, otherwise 0. More...
 
- Public Member Functions inherited from GClasses::SOM::NeighborhoodWindowFunction
virtual ~NeighborhoodWindowFunction ()
 Virtual destructor for good memory hygiene. More...
 

Constructor & Destructor Documentation

virtual GClasses::SOM::UniformWindowFunction::~UniformWindowFunction ( )
inlinevirtual

Virtual destructor for good memory hygiene.

Member Function Documentation

virtual double GClasses::SOM::UniformWindowFunction::minZeroDistance ( double  width) const
inlinevirtual

The Uniform is truncated to 0 at a distance of width.

See NeighborhoodWindowFunction::minZeroDistance()

Implements GClasses::SOM::NeighborhoodWindowFunction.

virtual double GClasses::SOM::UniformWindowFunction::operator() ( double  width,
double  distance 
) const
inlinevirtual

Returns if distance < width, 1, otherwise 0.

See NeighborhoodWindowFunction::operator()

Implements GClasses::SOM::NeighborhoodWindowFunction.