GClasses

GClasses::SOM::GridTopology Class Reference

Set the nodes to lie on an integer grid within the given maxima. A grid with 10,10 maximum is assumed to go from 0..9. NOTE: if the difference between a dimensional maximum and the nearest integer is less than 1e-6 then the maximum is taken to be that integer. Otherwise it is taken to be the maximum rounded down. More...

#include <GSelfOrganizingMap.h>

Inheritance diagram for GClasses::SOM::GridTopology:
GClasses::SOM::NodeLocationInitialization

List of all members.

Public Member Functions

virtual void setLocations (std::vector< double > outputAxesMax, std::vector< Node > &nodes)
 see comment on NodeLocationInitialization::setLocations
virtual ~GridTopology ()
 Virtual destructor for good memory hygiene.

Detailed Description

Set the nodes to lie on an integer grid within the given maxima. A grid with 10,10 maximum is assumed to go from 0..9. NOTE: if the difference between a dimensional maximum and the nearest integer is less than 1e-6 then the maximum is taken to be that integer. Otherwise it is taken to be the maximum rounded down.


Constructor & Destructor Documentation

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

Virtual destructor for good memory hygiene.


Member Function Documentation

virtual void GClasses::SOM::GridTopology::setLocations ( std::vector< double >  outputAxesMax,
std::vector< Node > &  nodes 
) [virtual]