00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SHypercubeMod.h,v 1.4 2003/01/08 18:57:14 meierb Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SHypercubeMod.h,v $ 00013 Revision 1.4 2003/01/08 18:57:14 meierb 00014 added randomized release times 00015 00016 Revision 1.1.1.1 2002/12/02 22:26:19 meierb 00017 my_schedule 00018 00019 Revision 1.2 2002/11/09 23:21:58 taeubig 00020 Added std:: for standard namespace, 00021 realtive path corrections for header includes 00022 00023 Revision 1.1 2002/08/29 12:59:59 taeubig 00024 Added the sources 00025 00026 Revision 1.1 2000/05/29 14:44:29 taeubig 00027 Moved topology related stuff into subdirectory topos 00028 00029 Revision 1.1 2000/05/27 00:55:06 taeubig 00030 Added files for hypercube topology 00031 00032 00033 * #end# ************************************************************* */ 00034 00035 #ifndef SHYPERCUBEMOD_H 00036 #define SHYPERCUBEMOD_H 00037 00038 // system header files 00039 00040 // project header files 00041 #include "STopologyMod.h" 00042 00043 class SHypercube; 00044 00048 class SHypercubeMod : public STopologyMod { 00049 00050 public: 00053 SHypercubeMod(SHypercube& topo) : _topo(topo) {}; 00054 00057 virtual ~SHypercubeMod() {}; 00058 00059 // inherited member function 00060 00065 virtual bool load(std::istream &in); 00068 virtual void save(std::ostream &out) const; 00069 virtual void sample() {}; 00070 00074 void setSize(int dim); 00075 00076 private: 00077 SHypercube& _topo; 00078 }; 00079 00080 #endif //SHYPERCUBEMOD_H