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 vector<int>
00038 ThreeD::getNeighbors( int i, int neighbor, int dimensions[] )
00039 {
00040 vector<int> vec;
00041 return vec;
00042 };
00043
00044 Value_Type
00045 ThreeD::H( const Value_Type delta, Value_Type radius, int neighboor ) { return 0; };
00046
00047 TMatrix
00048 ThreeD::CreateDelta( int dimensions[MaxDimension], int lattice, int mapsize ) { return 0; };
00049
00050 TMatrix
00051 ThreeD::LinInitCoords(int mapsize, int dimensions[MaxDimension]) {
00052 return 0;
00053 };
00054
00055 int
00056 ThreeD::Coord( int pos, int axis, int dimensions[MaxDimension] ) {
00057 return 0;
00058 };
00059
00060 Value_Type
00061 ThreeD::distance(int bmu, int i, int dimensions[MaxDimension], int type) {
00062 printf( "One Dimension\n" );
00063 return 0;
00064 };
00065
00066 #endif