Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

model/env/SIdenticalMod.h

Go to the documentation of this file.
00001 /* #start# ***********************************************************
00002 
00003                              Scheduling Simulator
00004                     Lehrstuhl f"ur Effiziente Algorithmen
00005                        Technische Universit"at M"unchen
00006 
00007  File    : $Id: SIdenticalMod.h,v 1.4 2003/01/08 18:57:13 meierb Exp $
00008 
00009  Purpose : 
00010 
00011  RCS-Log:
00012  $Log: SIdenticalMod.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/10 18:05:42  taeubig
00020  namespace and header include changes
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:44:29  taeubig
00026  Moved environment related files into subdirectory env
00027 
00028  Revision 1.5  2000/01/13 16:44:05  zoidl
00029  added javadoc comments
00030 
00031  Revision 1.4  1999/10/05 13:42:08  zoidl
00032  lots of new load- and save-routines
00033 
00034  Revision 1.3  1999/03/31 11:13:24  hall
00035  added a few output operators and save routines
00036 
00037  Revision 1.2  1999/03/29 12:48:53  schickin
00038  design of modifiers changed (SFooMod is now a member of SFoo). the stuff
00039  compiles and a simple test program runs fine.
00040 
00041  Revision 1.1  1999/02/12 11:55:39  hall
00042  impl. SEnvironment slice
00043 
00044 
00045  * #end# ************************************************************* */
00046 
00047 #ifndef SIDENTICALMOD_H
00048 #define SIDENTICALMOD_H
00049 
00050 // system header files
00051 
00052 // project header files
00053 #include "SEnvironmentMod.h"
00054 
00055 class SIdentical;
00056 
00060 class SIdenticalMod : public SEnvironmentMod {
00061 public:
00062   SIdenticalMod(SIdentical& env) : _env(env) {};
00063   virtual ~SIdenticalMod();
00064 
00065   // inherited member function
00069   virtual bool load(std::istream &in);
00072   virtual void save(std::ostream &out) const;
00073   virtual void sample() {};
00074 
00080   virtual void setNumOfMachines(int n);
00086   virtual void setNumOfJobs(int n);
00087 
00088   // new member functions
00091   SIdentical &getIdentical() { return _env; };
00092 private:
00093   SIdentical& _env;
00094 };
00095 
00096 #endif  //SIDENTICALMOD_H

Generated on Thu May 22 16:48:08 2003 for Sketch-it! by doxygen1.2.18