User Manual, Developers Guide and API Documentation

rise::scenario::mobility::BrownianCirc Class Reference

Mobility Model according to Brownian Molecular Movement inside rectengular bounds. More...

#include <scenario/mobility/Brown.hpp>

Inheritance diagram for rise::scenario::mobility::BrownianCirc:

Inheritance graph
[legend]
Collaboration diagram for rise::scenario::mobility::BrownianCirc:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BrownianCirc (const wns::pyconfig::View &mobilityView)

Protected Member Functions

virtual bool checkBounds (const wns::Position &pos) const
 checks whether the given position is inside the allowed bounds

Private Attributes

wns::Position center
 Center of the circular area.
double maxDistance
 Maximum distance from center.
int nSectors
 Number of sectors.


Detailed Description

The user moves with a randomly determined speed with a provided mean and variance. The user is only allowed to move inside a certain circular area determined by a center Position and a maximum radius. You may set these at your leisure.

Definition at line 171 of file Brown.hpp.


Constructor & Destructor Documentation

BrownianCirc::BrownianCirc ( const wns::pyconfig::View mobilityView  )  [explicit]

Definition at line 247 of file Brown.cpp.


Member Function Documentation

bool BrownianCirc::checkBounds ( const wns::Position pos  )  const [protected, virtual]

Implements rise::scenario::mobility::BrownianBase.

Definition at line 255 of file Brown.cpp.


Member Data Documentation

Definition at line 186 of file Brown.hpp.

Definition at line 191 of file Brown.hpp.

Definition at line 196 of file Brown.hpp.


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

Generated on Sat May 26 03:32:38 2012 for openWNS by  doxygen 1.5.5