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

EucledianTopology Class Template Reference

Standard eucledian topology OPT: zounds. More...

#include <EucledianTopology.h>

Inheritance diagram for EucledianTopology:

Inheritance graph
[legend]
Collaboration diagram for EucledianTopology:

Collaboration graph
[legend]
List of all members.

Public Types

typedef uint Axes [T_dimensions]
 The coordinates are [0 ...


Public Member Functions

 EucledianTopology (const Axes &sizes)
virtual real getNeighborWeight (uint srcNeuron, uint destNeuron, real nbSize) const
 Not optimized for rectangle neighborhood (which is typical..).

virtual bool isGridNeighbor (uint srcNeuron, uint destNeuron) const
 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 getSize (uint axis) const
void id2Axes (uint id, Axes &out) const
Vector axes2Vector (const Axes &a) const

Public Attributes

Axes sizes

Detailed Description

template<uint T_dimensions>
class annie::EucledianTopology< T_dimensions >

Standard eucledian topology OPT: zounds.


Member Typedef Documentation

typedef uint Axes[T_dimensions]
 

The coordinates are [0 ...

plane_size-1] for each plane


Constructor & Destructor Documentation

EucledianTopology const Axes sizes  ) 
 


Member Function Documentation

Vector axes2Vector const Axes a  )  const
 

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

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

Implements Topology.

Here is the call graph for this function:

uint getSize uint  axis  )  const [inline]
 

void id2Axes uint  id,
Axes out
const
 

bool isGridNeighbor uint  srcNeuron,
uint  destNeuron
const [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 :).

Implements Topology.

Here is the call graph for this function:


Member Data Documentation

Axes sizes
 


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