User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::apcstrategy::APCStrategy Class Reference

provides methods for "Adaptive Power Control" (APC). Used by scheduler strategies for during doAdaptiveResourceScheduling()

#include <scheduler/strategy/apcstrategy/APCStrategy.hpp>

Inheritance diagram for wns::scheduler::strategy::apcstrategy::APCStrategy:

Inheritance graph
[legend]
Collaboration diagram for wns::scheduler::strategy::apcstrategy::APCStrategy:

Collaboration graph
[legend]

List of all members.

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::PhyModeMapperInterfacephyModeMapper
 the phyModeMapper can calculate PhyMode from SINR and back

Classes

struct  Colleagues


Detailed Description

Definition at line 44 of file APCStrategy.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

void APCStrategy::initialize ( SchedulerStatePtr  schedulerState,
SchedulingMapPtr  schedulingMap 
) [virtual]

void APCStrategy::postProcess ( SchedulerStatePtr  schedulerState,
SchedulingMapPtr  schedulingMap 
) [virtual]

void APCStrategy::setColleagues ( RegistryProxyInterface _registry  )  [virtual]


Member Data Documentation

strategy name of derived class

Definition at line 83 of file APCStrategy.hpp.

Definition at line 68 of file APCStrategy.hpp.

Definition at line 71 of file APCStrategy.hpp.


The documentation for this class was generated from the following files:

Generated on Sun May 27 03:33:05 2012 for openWNS by  doxygen 1.5.5