#include <Kohonen.h>
Inheritance diagram for Topology:
Public Member Functions | |
virtual real | getNeighborWeight (uint srcNeuron, uint destNeuron, real nbSize) const=0 |
Not optimized for rectangle neighborhood (which is typical..). | |
virtual bool | isGridNeighbor (uint srcNeuron, uint destNeuron) const=0 |
Function ONLY relevant for visualization - true for the neurons which should be connected by a line calling for srcNeuron == destNeuron will also return true (and is useless :). | |
uint | getTotalCount () const |
total number of neurons in this topology | |
real | getMaxDim () const |
maximal dimension of 2 neurons present in this topology this is supposed to be constant for given topology instance | |
Protected Attributes | |
uint | totalCount |
real | maxDim |
|
maximal dimension of 2 neurons present in this topology this is supposed to be constant for given topology instance
|
|
Not optimized for rectangle neighborhood (which is typical..).
Implemented in EucledianTopology, and EucledianTopology< AXES >. |
|
total number of neurons in this topology
|
|
Function ONLY relevant for visualization - true for the neurons which should be connected by a line calling for srcNeuron == destNeuron will also return true (and is useless :).
Implemented in EucledianTopology, and EucledianTopology< AXES >. |
|
|
|
|