00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SLineTopologyMod.h,v 1.4 2003/01/08 18:57:14 meierb Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SLineTopologyMod.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:33 taeubig 00027 Moved topology related stuff into subdirectory topos 00028 00029 Revision 1.3 2000/01/17 12:06:44 zoidl 00030 added javadoc comments 00031 00032 Revision 1.2 1999/12/22 17:05:35 hall 00033 STopology is observable, added SJobArray::resize() + SLineTopMod::setSize() 00034 00035 Revision 1.1 1999/11/02 12:21:49 zoidl 00036 added modifier for SLineTopology 00037 00038 00039 * #end# ************************************************************* */ 00040 00041 #ifndef SLINETOPOLOGYMOD_H 00042 #define SLINETOPOLOGYMOD_H 00043 00044 // system header files 00045 00046 // project header files 00047 #include "STopologyMod.h" 00048 00049 class SLineTopology; 00050 00054 class SLineTopologyMod : public STopologyMod { 00055 00056 public: 00059 SLineTopologyMod(SLineTopology& topo) : _topo(topo) {}; 00062 virtual ~SLineTopologyMod() {}; 00063 00064 // inherited member function 00065 00070 virtual bool load(std::istream &in); 00071 00074 virtual void save(std::ostream &out) const; 00075 virtual void sample() {}; 00076 00077 // new member functions 00078 00082 void setSize(int size); 00083 00084 private: 00085 SLineTopology& _topo; 00086 }; 00087 00088 #endif // SLINETOPOLOGYMOD_H