![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <scheduler/strategy/dsastrategy/FarFirst.hpp>


Public Member Functions | |
| FarFirst (const wns::pyconfig::View &config) | |
| virtual DSAResult | getSubChannelWithDSA (RequestForResource &request, SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap) |
| determine subChannel for request. This is only a suggestion. The allocation/fixation is done outside. | |
| virtual void | initialize (SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap) |
| call this before each timeSlot/frame. Important to reset starting values. | |
| bool | requiresCQI () const |
| true if the strategy must have CQI information. E.g. for getBestSubChannel based on CQI | |
| ~FarFirst () | |
Private Attributes | |
| std::map< double, int, std::greater< double > > | resAmount_ |
| std::map< double, std::set < DSAResult >::iterator, std::greater< double > > | resStart_ |
| std::set< DSAResult, FreqFirst > | sortedResources_ |
Definition at line 46 of file FarFirst.hpp.
| FarFirst::FarFirst | ( | const wns::pyconfig::View & | config | ) |
Definition at line 41 of file FarFirst.cpp.
| FarFirst::~FarFirst | ( | ) |
Definition at line 47 of file FarFirst.cpp.
| DSAResult FarFirst::getSubChannelWithDSA | ( | RequestForResource & | request, | |
| SchedulerStatePtr | schedulerState, | |||
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 196 of file FarFirst.cpp.
| void FarFirst::initialize | ( | SchedulerStatePtr | schedulerState, | |
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Reimplemented from wns::scheduler::strategy::dsastrategy::DSAStrategy.
Definition at line 54 of file FarFirst.cpp.
| bool wns::scheduler::strategy::dsastrategy::FarFirst::requiresCQI | ( | ) | const [inline, virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 61 of file FarFirst.hpp.
std::map<double, int, std::greater<double> > wns::scheduler::strategy::dsastrategy::FarFirst::resAmount_ [private] |
Definition at line 69 of file FarFirst.hpp.
std::map<double, std::set<DSAResult>::iterator, std::greater<double> > wns::scheduler::strategy::dsastrategy::FarFirst::resStart_ [private] |
Definition at line 66 of file FarFirst.hpp.
std::set<DSAResult, FreqFirst> wns::scheduler::strategy::dsastrategy::FarFirst::sortedResources_ [private] |
Definition at line 61 of file FarFirst.hpp.
1.5.5