00001 #ifndef ThreeD_H 00002 #define ThreeD_H 00003 00004 #include "TopologyImp.h" 00005 00014 class ThreeD : public TopologyImp { 00015 public: 00017 Value_Type distance(int bmu, int i, int dimensions[MaxDimension], int type); 00018 00020 int Coord( int pos, int axis , int dimensions[MaxDimension]); 00021 00023 TMatrix LinInitCoords(int mapsize, int dimensions[MaxDimension]); 00024 00026 TMatrix CreateDelta( int dimensions[MaxDimension], int lattice, int mapsize ); 00027 00029 ThreeD(const TopolParams& par):TopologyImp(par) {}; 00030 00032 Value_Type H( const Value_Type delta, Value_Type radius, int neighboor ); 00033 00034 vector<int> getNeighbors( int i, int neighbor, int dimensions[] ); 00035 }; 00036 00037 00038 #endif