to store the specification of a posture on the MoBAN mobility model. More...
#include <Posture.h>

Public Member Functions | |
| Posture (unsigned int, unsigned int) | |
| Construct a posture object with the given ID and number of nodes, respectively. | |
| bool | setPostureName (char *) |
| Set the given name for the posture. | |
| bool | setPostureSpeed (double, double) |
| Set the minimum and maximum value for the speed range of the whole WBAN (global movement) in this posture. | |
| bool | setRadius (unsigned int, double) |
| Set the radius of the sphere for movement of a singular node in this posture. | |
| bool | setSpeed (unsigned int, double) |
| Set the velocity for movement of a singular node in this posture. | |
| bool | setPs (unsigned int, Coord) |
| Set the relative position of a node in this posture. | |
| bool | setAlphaMean (unsigned int, unsigned int, double) |
| Set the mean value of a normal distribution for path lost coefficient of wave propagation between two nodes in this posture. | |
| bool | setAlphaSD (unsigned int, unsigned int, double) |
| Set the standard deviation of a normal distribution for path lost coefficient of wave propagation between two nodes in this posture. | |
| bool | isMobile () |
| Check if this posture is mobile by checking the maximum possible speed. | |
| int | getPostureID () |
| Returns the unique Id (index) of this posture. | |
| char * | getPostureName () |
| Returns posture name. | |
| double | getMaxSpeed () |
| Returns maximum value of the speed range of this posture. | |
| double | getMinSpeed () |
| Returns minimum value of the speed range of this posture. | |
| double | getRadius (unsigned int) |
| Returns the singular movement radius of a node in this posture. | |
| double | getSpeed (unsigned int) |
| Returns the singular movement speed of a node in this posture. | |
| Coord | getPs (unsigned int) |
| Returns the relative position of a node in this posture. | |
| double | getAlphaMean (unsigned int, unsigned int) |
| Returns the mean value of a normal distribution for path lost coefficient of wave propagation between two nodes in this posture. | |
| double | getAlphaSD (unsigned int, unsigned int) |
| Returns the standard deviation of a normal distribution for path lost coefficient of wave propagation between two nodes in this posture. | |
Protected Attributes | |
| unsigned int | numNodes |
| Number of nodes existing in the WBAN. | |
| unsigned int | postureID |
| The unique ID of the posture. | |
| Coord * | nodePs |
| The relative reference position of each node in this posture. | |
| char | posture_name [50] |
| A given name to the posture like walking, sitting. It might be used for showing the current posture in the graphical interface during the simulation run. | |
| double ** | alphaMean |
| Mean value of the normal distribution for the path lost coefficient (alpha) for any pair of nodes (numNodes by numNodes matrix). | |
| double ** | alphaSD |
| Mean value of the normal distribution for the path lost coefficient (alpha) for any pair of nodes (numNodes by numNodes matrix). | |
| double * | nodeRadius |
| Radious of the sphere around each node for individual mobility. | |
| double * | nodeSpeed |
| Movement speed of the node for individual mobility. | |
| double | postureMaxSpeed |
| Maximum value of the speed range for the global movement in this posture. | |
| double | postureMinSpeed |
| Minimum value of the speed range for the global movement in this posture. | |
to store the specification of a posture on the MoBAN mobility model.
Definition at line 56 of file Posture.h.
1.7.1