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


Public Member Functions | |
| APCStrategy (const wns::pyconfig::View &config) | |
| virtual void | initialize (SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap) |
| call this before each timeSlot/frame. Important to reset starting values. | |
| virtual void | postProcess (SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap) |
| After all resource scheduling is done, this method is always invoked. It can change the PhyModes and PowerPerSubchannel (=> CompoundDurations) so that we maybe can save more power. Default implementation is empty. Overload in derived classes if necessary. | |
| virtual void | setColleagues (RegistryProxyInterface *_registry) |
| called once at the beginning | |
| virtual | ~APCStrategy () |
Protected Attributes | |
| std::string | apcstrategyName |
| These parameters maxSummedPowerOnAllChannels, maxPowerPerSubChannel, nominalPowerPerSubChannel are assumed constant for this scheduler. This is good and ok if all users are the same (default of all systems), but if they are different (future), APC must call schedulerState->strategy->getPowerCapabilities(request.user). | |
| struct wns::scheduler::strategy::apcstrategy::APCStrategy::Colleagues | colleagues |
| wns::logger::Logger | logger |
| wns::service::phy::phymode::PhyModeMapperInterface * | phyModeMapper |
| the phyModeMapper can calculate PhyMode from SINR and back | |
Classes | |
| struct | Colleagues |
Definition at line 44 of file APCStrategy.hpp.
| APCStrategy::APCStrategy | ( | const wns::pyconfig::View & | config | ) |
Definition at line 38 of file APCStrategy.cpp.
| APCStrategy::~APCStrategy | ( | ) | [virtual] |
Definition at line 49 of file APCStrategy.cpp.
| void APCStrategy::initialize | ( | SchedulerStatePtr | schedulerState, | |
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Implements wns::scheduler::strategy::apcstrategy::APCStrategyInterface.
Reimplemented in wns::scheduler::strategy::apcstrategy::APCSlave, wns::scheduler::strategy::apcstrategy::DoNotUseAPC, wns::scheduler::strategy::apcstrategy::FairSINR, wns::scheduler::strategy::apcstrategy::FCFSMaxPhyMode, wns::scheduler::strategy::apcstrategy::LTE_UL, wns::scheduler::strategy::apcstrategy::UseMaxTxPower, and wns::scheduler::strategy::apcstrategy::UseNominalTxPower.
Definition at line 63 of file APCStrategy.cpp.
| void APCStrategy::postProcess | ( | SchedulerStatePtr | schedulerState, | |
| SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
Implements wns::scheduler::strategy::apcstrategy::APCStrategyInterface.
Reimplemented in wns::scheduler::strategy::apcstrategy::LTE_UL, and wns::scheduler::strategy::apcstrategy::UseMaxTxPower.
Definition at line 73 of file APCStrategy.cpp.
| void APCStrategy::setColleagues | ( | RegistryProxyInterface * | _registry | ) | [virtual] |
Implements wns::scheduler::strategy::apcstrategy::APCStrategyInterface.
Definition at line 54 of file APCStrategy.cpp.
std::string wns::scheduler::strategy::apcstrategy::APCStrategy::apcstrategyName [protected] |
strategy name of derived class
Definition at line 83 of file APCStrategy.hpp.
struct wns::scheduler::strategy::apcstrategy::APCStrategy::Colleagues wns::scheduler::strategy::apcstrategy::APCStrategy::colleagues [protected] |
Definition at line 68 of file APCStrategy.hpp.
wns::service::phy::phymode::PhyModeMapperInterface* wns::scheduler::strategy::apcstrategy::APCStrategy::phyModeMapper [protected] |
Definition at line 71 of file APCStrategy.hpp.
1.5.5