00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SMalleableJobMod.h,v 1.4 2003/01/08 18:57:13 meierb Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SMalleableJobMod.h,v $ 00013 Revision 1.4 2003/01/08 18:57:13 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 20:08:41 taeubig 00020 <iostream> inclusion, added std:: 00021 00022 Revision 1.1 2002/08/29 12:59:59 taeubig 00023 Added the sources 00024 00025 Revision 1.1 2000/05/29 19:51:27 taeubig 00026 Moved job type related files into subdirectory jobs 00027 00028 Revision 1.3 2000/01/30 03:06:21 taeubig 00029 Updated topologies. 00030 00031 Revision 1.2 2000/01/08 19:36:25 taeubig 00032 Cleaned SMalleableJob* files 00033 00034 Revision 1.1 1999/11/10 03:06:02 taeubig 00035 Malleable jobs (parallelizable jobs), 00036 they may be scheduled on fewer machines than requested 00037 at the cost of increasing the processing time 00038 00039 00040 * #end# ************************************************************* */ 00041 00042 #ifndef SMALLEABLEJOBMOD_H 00043 #define SMALLEABLEJOBMOD_H 00044 00045 // system header files 00046 #include <iostream> 00047 00048 // project header files 00049 #include "SJobMod.h" 00050 00051 // ----------------------------------------------------------------------- 00052 class SMalleableJob; 00053 class STopology; 00054 // ----------------------------------------------------------------------- 00055 class SMalleableJobMod : public SJobMod { 00056 public: 00057 SMalleableJobMod(SMalleableJob &job); 00058 00059 void setMaxTop(STopology *pMaxTop); 00060 // inherited member function 00061 virtual bool load(std::istream &in); 00062 virtual void save(std::ostream &out) const; 00063 virtual void sample() {}; 00064 private: 00065 SMalleableJob& _job; 00066 }; 00067 // ----------------------------------------------------------------------- 00068 00069 00070 #endif