GClasses
GClasses::SOM::GridTopology Class Reference

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.

#include <GSelfOrganizingMap.h>

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

Public Member Functions

virtual ~GridTopology ()
 Virtual destructor for good memory hygiene. More...
 
virtual void setLocations (std::vector< double > outputAxesMax, std::vector< Node > &nodes)
 see comment on NodeLocationInitialization::setLocations More...
 
- Public Member Functions inherited from GClasses::SOM::NodeLocationInitialization
virtual ~NodeLocationInitialization ()
 Virtual destructor for good memory hygiene. More...
 

Constructor & Destructor Documentation

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

Virtual destructor for good memory hygiene.

Member Function Documentation

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