User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::dsastrategy::Random Class Reference

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

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

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

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.
virtual void initialize (SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap)
 call this before each timeSlot/frame. Important to reset starting values.
 Random (const wns::pyconfig::View &config)
bool requiresCQI () const
 true if the strategy must have CQI information. E.g. for getBestSubChannel based on CQI
 ~Random ()

Private Attributes

wns::distribution::StandardUniformrandomDist


Detailed Description

Definition at line 35 of file Random.hpp.


Constructor & Destructor Documentation

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

Definition at line 47 of file Random.cpp.

Random::~Random (  ) 

Definition at line 54 of file Random.cpp.


Member Function Documentation

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

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

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

Definition at line 61 of file Random.cpp.

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


Member Data Documentation

Definition at line 50 of file Random.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