GreenCloud Simulator
Classes | Functions
herosscheduler.h File Reference
#include "bestscorescheduler.h"
Include dependency graph for herosscheduler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HerosScheduler
 

Functions

bool herosComparator (const ProviderScore &first, const ProviderScore &second)
 

Function Documentation

bool herosComparator ( const ProviderScore first,
const ProviderScore second 
)

Definition at line 113 of file herosscheduler.cc.

113  {
114  if(first.score_ != second.score_){
115  return first.score_ < second.score_;
116  } else {
118  }
119 }
double comm_potential_
Definition: providerscore.h:18
static double performancePerWattMax(ResourceProvider *rp)
ResourceProvider * provider_
Definition: providerscore.h:16