00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SJobIdArray.h,v 1.2 2002/11/11 10:26:08 taeubig Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SJobIdArray.h,v $ 00013 Revision 1.2 2002/11/11 10:26:08 taeubig 00014 std namespace and header include changes 00015 00016 Revision 1.1 2002/08/29 12:59:59 taeubig 00017 Added the sources 00018 00019 Revision 1.2 2000/05/24 12:53:43 taeubig 00020 New compiler (gcc-2.95) and new Qt (2.1) 00021 Replaced "list" by "leda_list" etc. 00022 00023 Revision 1.1 1999/04/27 13:39:56 schickin 00024 well folks, that's the first demo version that really runs 8-) 00025 00026 00027 * #end# ************************************************************* */ 00028 00029 #ifndef SJOBIDARRAY_H 00030 #define SJOBIDARRAY_H 00031 00032 // system header files 00033 #include <LEDA/array.h> 00034 00035 // project header files 00036 #include "../model/STaskSystem.h" 00037 00038 class SJobIdArray : public leda_array<int> { 00039 public: 00040 SJobIdArray() : _pTaskSys(NULL) {}; 00041 SJobIdArray(const STaskSystem& ts); 00042 void standardOrder(); 00043 void sortByPrio(const leda_array<int>& prio); 00044 private: 00045 const STaskSystem* _pTaskSys; 00046 }; 00047 00048 #endif /* SJOBIDARRAY_H */