GClasses
|
Way of initializing the node positions according to a given topology - for example: points on a grid, on a triangular lattice, or random points in space.
outputAxesMax are taken to be non-negative numbers
#include <GSelfOrganizingMap.h>
Public Member Functions | |
virtual | ~NodeLocationInitialization () |
Virtual destructor for good memory hygiene. More... | |
virtual void | setLocations (std::vector< double > outputAxesMax, std::vector< Node > &nodes)=0 |
Initializes the locations in the given vector of nodes according to this topology and the maximum values of the output axes. If there are not enough nodes for the given topology, the node vector will be reallocated. More... | |
|
inlinevirtual |
Virtual destructor for good memory hygiene.
|
pure virtual |
Initializes the locations in the given vector of nodes according to this topology and the maximum values of the output axes. If there are not enough nodes for the given topology, the node vector will be reallocated.
Implemented in GClasses::SOM::GridTopology.