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


Public Member Functions | |
| 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. | |
| Random (const wns::pyconfig::View &config) | |
| bool | requiresCQI () const |
| true if the strategy must have CQI information. E.g. for getBestSubChannel based on CQI | |
| ~Random () | |
Private Attributes | |
| wns::distribution::StandardUniform * | randomDist |
Definition at line 35 of file Random.hpp.
| Random::Random | ( | const wns::pyconfig::View & | config | ) |
Definition at line 47 of file Random.cpp.
| Random::~Random | ( | ) |
Definition at line 54 of file Random.cpp.
| DSAResult Random::getSubChannelWithDSA | ( | RequestForResource & | request, | |
| SchedulerStatePtr | schedulerState, | |||
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 68 of file Random.cpp.
| void Random::initialize | ( | SchedulerStatePtr | schedulerState, | |
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Reimplemented from wns::scheduler::strategy::dsastrategy::DSAStrategy.
Definition at line 61 of file Random.cpp.
| bool wns::scheduler::strategy::dsastrategy::Random::requiresCQI | ( | ) | const [inline, virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 50 of file Random.hpp.
wns::distribution::StandardUniform* wns::scheduler::strategy::dsastrategy::Random::randomDist [private] |
Definition at line 50 of file Random.hpp.
1.5.5