User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::dsastrategy::LinearFFirst Class Reference

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

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

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

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.
 LinearFFirst (const wns::pyconfig::View &config)
bool requiresCQI () const
 true if the strategy must have CQI information. E.g. for getBestSubChannel based on CQI
 ~LinearFFirst ()

Private Attributes

int lastUsedBeam
int lastUsedSubChannel
 remember position of last used subChannel
int lastUsedTimeSlot
wns::distribution::StandardUniformrandomDist
bool useRandomChannelAtBeginning
 randomly distribute the channels to user


Detailed Description

Definition at line 37 of file LinearFFirst.hpp.


Constructor & Destructor Documentation

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

Definition at line 45 of file LinearFFirst.cpp.

LinearFFirst::~LinearFFirst (  ) 

Definition at line 58 of file LinearFFirst.cpp.


Member Function Documentation

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

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

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

Definition at line 65 of file LinearFFirst.cpp.

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


Member Data Documentation

Definition at line 61 of file LinearFFirst.hpp.

Definition at line 59 of file LinearFFirst.hpp.

Definition at line 60 of file LinearFFirst.hpp.

Definition at line 52 of file LinearFFirst.hpp.

Definition at line 57 of file LinearFFirst.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