GClasses

GClasses::SOM::UniformWindowFunction Class Reference

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

#include <GSelfOrganizingMap.h>

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

List of all members.

Public Member Functions

virtual double operator() (double width, double distance) const
 Returns if distance < width, 1, otherwise 0.
virtual double minZeroDistance (double width) const
 The Uniform is truncated to 0 at a distance of width.
virtual ~UniformWindowFunction ()
 Virtual destructor for good memory hygiene.

Detailed Description

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


Constructor & Destructor Documentation

virtual GClasses::SOM::UniformWindowFunction::~UniformWindowFunction ( ) [inline, virtual]

Virtual destructor for good memory hygiene.


Member Function Documentation

virtual double GClasses::SOM::UniformWindowFunction::minZeroDistance ( double  width) const [inline, virtual]

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 [inline, virtual]

Returns if distance < width, 1, otherwise 0.

See NeighborhoodWindowFunction::operator()

Implements GClasses::SOM::NeighborhoodWindowFunction.