Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Topology Class Reference

Class used as a template to the KohonenNetwork network. More...

#include <Kohonen.h>

Inheritance diagram for Topology:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Class used as a template to the KohonenNetwork network.


Member Function Documentation

real getMaxDim  )  const [inline]
 

maximal dimension of 2 neurons present in this topology this is supposed to be constant for given topology instance

virtual real getNeighborWeight uint  srcNeuron,
uint  destNeuron,
real  nbSize
const [pure virtual]
 

Not optimized for rectangle neighborhood (which is typical..).

Implemented in EucledianTopology, and EucledianTopology< AXES >.

uint getTotalCount  )  const [inline]
 

total number of neurons in this topology

virtual bool isGridNeighbor uint  srcNeuron,
uint  destNeuron
const [pure virtual]
 

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 >.


Member Data Documentation

real maxDim [protected]
 

uint totalCount [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Jun 18 13:19:31 2004 for Annie by doxygen 1.3.5