World Ocean Simulation System (WOSS) library
ChannelEstimator Class Reference

Class for channel estimation and averaging. More...

#include <uw-woss-channel-estimator.h>

Inheritance diagram for ChannelEstimator:
Inheritance graph
Collaboration diagram for ChannelEstimator:
Collaboration graph

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::TimeArrgetEstimation (const woss::CoordZ &tx, const woss::CoordZ &rx)
 
void addMacAddress (int addr, WossPosition *pos)
 
virtual WossPositionfindMacAddress (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
 

Detailed Description

Class for channel estimation and averaging.

ChannelEstimator provides extensible estimation and averaging methods.

Member Function Documentation

◆ getEstimation()

woss::TimeArr * ChannelEstimator::getEstimation ( const woss::CoordZ tx,
const woss::CoordZ rx 
)

Returns channel estimation for the given tx-rx couple

Parameters
txns address type of transmitter node
rxns address type of receiver node
Returns
pointer to a heap-allocated woss::TimeArr channel

◆ updateEstimation()

void ChannelEstimator::updateEstimation ( const woss::CoordZ tx,
const woss::CoordZ rx,
woss::TimeArr curr_channel 
)
virtual

Updates channel estimation for the given tx-rx couple

Parameters
txns address type of transmitter node
rxns address type of receiver node
curr_channelpointer to new channel value

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