00001 #ifndef DDF_GEOMETRY_H 00002 #define DDF_GEOMETRY_H 00003 00004 #include <iostream> 00005 00006 namespace afl 00007 { 00008 namespace ddf 00009 { 00014 class Geometry 00015 { 00017 public: 00026 Geometry( size_t rows = 1, size_t cols = 1, size_t epochs = 1, bool node = false ); 00027 00031 size_t getRows( ) const; 00032 00036 size_t getCols( ) const; 00037 00041 size_t getEpochs( ) const; 00042 00047 bool getNode( ) const; 00048 00050 private: 00051 size_t _rows; 00052 size_t _cols; 00053 size_t _epochs; 00054 bool _node; 00055 }; 00056 00057 } 00058 } 00059 00060 #endif // DDF_GEOMETRY_H 00061