World Ocean Simulation System (WOSS) library
|
Class for channel estimation and averaging. More...
#include <uw-woss-channel-estimator.h>
Public Types | |
typedef ::std::map< woss::CoordZ, woss::TimeArr *, woss::CoordComparator< ChannelEstimator, woss::CoordZ > > | RxMap |
typedef RxMap::iterator | RxMIter |
typedef RxMap::const_iterator | RxMCIter |
typedef RxMap::reverse_iterator | RxMRIter |
typedef ::std::map< woss::CoordZ, RxMap, woss::CoordComparator< ChannelEstimator, woss::CoordZ > > | ChannelMap |
typedef ChannelMap::iterator | ChMapIter |
typedef ChannelMap::reverse_iterator | ChMapRIter |
typedef std::map< int, WossPosition * > | MacToPosMap |
typedef MacToPosMap::iterator | MacMapIter |
typedef MacToPosMap::reverse_iterator | MacMapRIter |
Public Member Functions | |
virtual int | command (int argc, const char *const *argv) |
virtual void | updateEstimation (const woss::CoordZ &tx, const woss::CoordZ &rx, woss::TimeArr *curr_channel) |
woss::TimeArr * | getEstimation (const woss::CoordZ &tx, const woss::CoordZ &rx) |
void | addMacAddress (int addr, WossPosition *pos) |
virtual WossPosition * | findMacAddress (int addr) |
virtual bool | resetEstimator () |
Static Public Member Functions | |
static double | getSpaceSampling () |
Protected Attributes | |
ChannelMap | channel_map |
MacToPosMap | mac_to_pos_map |
double | debug_ |
double | avg_coeff |
Static Protected Attributes | |
static double | space_sampling = 0.0 |
Class for channel estimation and averaging.
ChannelEstimator provides extensible estimation and averaging methods.
woss::TimeArr * ChannelEstimator::getEstimation | ( | const woss::CoordZ & | tx, |
const woss::CoordZ & | rx | ||
) |
Returns channel estimation for the given tx-rx couple
tx | ns address type of transmitter node |
rx | ns address type of receiver node |
|
virtual |
Updates channel estimation for the given tx-rx couple
tx | ns address type of transmitter node |
rx | ns address type of receiver node |
curr_channel | pointer to new channel value |