GreenCloud Simulator
probabilisticscheduler.h
Go to the documentation of this file.
1 /*
2  * probabilisticscheduler.h
3  *
4  * @date Jan 9, 2014
5  * @author Guzek:Mateusz
6  */
7 
8 #ifndef PROBABILISITCSCHEDULER_H_
9 #define PROBABILISITCSCHEDULER_H_
10 
11 #include <algorithm>
12 
13 #include "scorescheduler.h"
14 
16 public:
18  virtual ~ProbabilisticScheduler();
19  virtual TskComAgent* scheduleTask(CloudTask* task, std::vector<ResourceProvider* > providers);
20 private:
21  virtual double calculateScore(ResourceProvider* rp) = 0;
22 
23 };
24 
25 #endif /* PROBABILISITCSCHEDULER_H_ */
virtual double calculateScore(ResourceProvider *rp)=0
virtual TskComAgent * scheduleTask(CloudTask *task, std::vector< ResourceProvider * > providers)