User Manual, Developers Guide and API Documentation

rise::scenario::mobility::BrownianRect Class Reference

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

#include <scenario/mobility/Brown.hpp>

Inheritance diagram for rise::scenario::mobility::BrownianRect:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BrownianRect (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

double xmax
double xmin
 store the rectangular bounds
double ymax
double ymin


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 rectangular area determined by xmin,ymin and xmax,ymax. You may set these to be the scenario borders or something else.

Definition at line 144 of file Brown.hpp.


Constructor & Destructor Documentation

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

Definition at line 230 of file Brown.cpp.


Member Function Documentation

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

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

Definition at line 239 of file Brown.cpp.


Member Data Documentation

Definition at line 159 of file Brown.hpp.

Definition at line 159 of file Brown.hpp.

Definition at line 159 of file Brown.hpp.

Definition at line 159 of file Brown.hpp.


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

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