00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __moEasyCoolSched_h
00013 #define __moEasyCoolSched_h
00014
00015 #include "moCoolSched.h"
00016
00018
00022 class moEasyCoolSched:public moCoolSched
00023 {
00024
00025 public:
00027
00031 moEasyCoolSched (double __threshold,
00032 double __ratio):threshold (__threshold), ratio (__ratio)
00033 {
00034
00035 }
00036
00038
00044 bool operator () (double &__temp)
00045 {
00046
00047 return (__temp *= ratio) > threshold;
00048 }
00049
00050 private:
00051
00053 double threshold;
00054
00056 double ratio;
00057
00058 };
00059
00060 #endif