User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::dsastrategy::HighCwithHighI Class Reference

DSA startegy equally distributing available resources between users. If there are n resources and m users: m1 = n mod m users get floor(n/m) + 1 resources, m - m1 users get floor(n/m) resources. The resources are then granted to a user by first increasing the subChannel number, then the timeSlot, then the spatialLayer. TODO: Make it configurable in which order time, frequency and space domain are used for resource sorting.

#include <scheduler/strategy/dsastrategy/HighCwithHighI.hpp>

Inheritance diagram for wns::scheduler::strategy::dsastrategy::HighCwithHighI:

Inheritance graph
[legend]
Collaboration diagram for wns::scheduler::strategy::dsastrategy::HighCwithHighI:

Collaboration graph
[legend]

List of all members.

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.
 HighCwithHighI (const wns::pyconfig::View &config)
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
 ~HighCwithHighI ()

Private Attributes

std::map< unsigned int,
std::vector< DSAResult > > 
usersResources_


Detailed Description

Definition at line 44 of file HighCwithHighI.hpp.


Constructor & Destructor Documentation

HighCwithHighI::HighCwithHighI ( const wns::pyconfig::View config  ) 

Definition at line 43 of file HighCwithHighI.cpp.

HighCwithHighI::~HighCwithHighI (  ) 

Definition at line 49 of file HighCwithHighI.cpp.


Member Function Documentation

DSAResult HighCwithHighI::getSubChannelWithDSA ( RequestForResource request,
SchedulerStatePtr  schedulerState,
SchedulingMapPtr  schedulingMap 
) [virtual]

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

Reimplemented from wns::scheduler::strategy::dsastrategy::DSAStrategy.

Definition at line 56 of file HighCwithHighI.cpp.

bool wns::scheduler::strategy::dsastrategy::HighCwithHighI::requiresCQI (  )  const [inline, virtual]


Member Data Documentation

Definition at line 59 of file HighCwithHighI.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