#include <EucledianTopology.h>
Inheritance diagram for EucledianTopology:
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 |
|
The coordinates are [0 ... plane_size-1] for each plane |
|
|
|
|
|
Not optimized for rectangle neighborhood (which is typical..).
Implements Topology. |
Here is the call graph for this function:
|
|
|
|
|
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:
|
|