![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <scheduler/strategy/dsastrategy/LinearFFirst.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. | |
| LinearFFirst (const wns::pyconfig::View &config) | |
| bool | requiresCQI () const |
| true if the strategy must have CQI information. E.g. for getBestSubChannel based on CQI | |
| ~LinearFFirst () | |
Private Attributes | |
| int | lastUsedBeam |
| int | lastUsedSubChannel |
| remember position of last used subChannel | |
| int | lastUsedTimeSlot |
| wns::distribution::StandardUniform * | randomDist |
| bool | useRandomChannelAtBeginning |
| randomly distribute the channels to user | |
Definition at line 37 of file LinearFFirst.hpp.
| LinearFFirst::LinearFFirst | ( | const wns::pyconfig::View & | config | ) |
Definition at line 45 of file LinearFFirst.cpp.
| LinearFFirst::~LinearFFirst | ( | ) |
Definition at line 58 of file LinearFFirst.cpp.
| DSAResult LinearFFirst::getSubChannelWithDSA | ( | RequestForResource & | request, | |
| SchedulerStatePtr | schedulerState, | |||
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 82 of file LinearFFirst.cpp.
| void LinearFFirst::initialize | ( | SchedulerStatePtr | schedulerState, | |
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Reimplemented from wns::scheduler::strategy::dsastrategy::DSAStrategy.
Definition at line 65 of file LinearFFirst.cpp.
| bool wns::scheduler::strategy::dsastrategy::LinearFFirst::requiresCQI | ( | ) | const [inline, virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 52 of file LinearFFirst.hpp.
Definition at line 61 of file LinearFFirst.hpp.
Definition at line 59 of file LinearFFirst.hpp.
Definition at line 60 of file LinearFFirst.hpp.
wns::distribution::StandardUniform* wns::scheduler::strategy::dsastrategy::LinearFFirst::randomDist [private] |
Definition at line 52 of file LinearFFirst.hpp.
Definition at line 57 of file LinearFFirst.hpp.
1.5.5