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


Public Member Functions | |
| BestChannel (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 | |
| ~BestChannel () | |
Private Types | |
| typedef std::vector< bool > | UsedSubChannels |
| typedef std::map< UserID, UserInfo > | UserInfoMap |
Private Attributes | |
| ChannelQualitiesOfAllUsersPtr | channelQualitiesOfAllUsers |
| SmartPtr created in the CQI; no need for memory tracking later. | |
| UserInfoMap | userInfoMap |
Classes | |
| class | UserInfo |
Definition at line 37 of file BestChannel.hpp.
typedef std::vector<bool> wns::scheduler::strategy::dsastrategy::BestChannel::UsedSubChannels [private] |
Definition at line 57 of file BestChannel.hpp.
typedef std::map<UserID, UserInfo> wns::scheduler::strategy::dsastrategy::BestChannel::UserInfoMap [private] |
Definition at line 78 of file BestChannel.hpp.
| BestChannel::BestChannel | ( | const wns::pyconfig::View & | config | ) |
Definition at line 44 of file BestChannel.cpp.
| BestChannel::~BestChannel | ( | ) |
Definition at line 51 of file BestChannel.cpp.
| DSAResult BestChannel::getSubChannelWithDSA | ( | RequestForResource & | request, | |
| SchedulerStatePtr | schedulerState, | |||
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 75 of file BestChannel.cpp.
| void BestChannel::initialize | ( | SchedulerStatePtr | schedulerState, | |
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Reimplemented from wns::scheduler::strategy::dsastrategy::DSAStrategy.
Definition at line 57 of file BestChannel.cpp.
| bool wns::scheduler::strategy::dsastrategy::BestChannel::requiresCQI | ( | ) | const [inline, virtual] |
Implements wns::scheduler::strategy::dsastrategy::DSAStrategyInterface.
Definition at line 52 of file BestChannel.hpp.
ChannelQualitiesOfAllUsersPtr wns::scheduler::strategy::dsastrategy::BestChannel::channelQualitiesOfAllUsers [private] |
Definition at line 52 of file BestChannel.hpp.
Definition at line 79 of file BestChannel.hpp.
1.5.5