Public Member Functions | Public Attributes
TEventData Struct Reference

#include <EventCounterData.hpp>

List of all members.

Public Member Functions

double Bin (int n, double p, int r)
float binaryBayesUpdate (float Pold, float P)
float computeSemiStaticLikelihood (int N)
float computeShortTermOccupancy ()
double entryL ()
double exitL ()
double fac (int n)
bool getBit (int ind)
int getEntryN ()
 Expected number of observations/event.
int getExitN ()
 Expected number of observations/event.
float getFreeStaticLikelihood ()
int getObservations ()
float getOccStaticLikelihood ()
float getOccupancyNow ()
double L ()
void normalizeProb (float &p)
const TEventDataoperator= (const TEventData &copy)
void performRecencyFiltering ()
float predictOccupancy (int N)
void Reset ()
 TEventData ()
 A storage for the last 64 events (as bits)
 TEventData (const TEventData &copy)
void updateEntryEvent (uint8_t meas, float w)
void updateExitEvent (uint8_t meas, float w)
void updateSimple (uint8_t meas)
void updateSimple (uint8_t meas, float w)
 ~TEventData ()

Public Attributes

float a_entry_event
 Number of times the cell is perceived as occupied.
float a_exit_event
float b_entry_event
float b_exit_event
 Number of exit events ( OCC 2 EMP)
uint64_t events
 Number of times the cell is perceived as empty.
uint8_t occval
 Occupancy value.

Detailed Description

Structure in the map

Definition at line 56 of file EventCounterData.hpp.


Constructor & Destructor Documentation

TEventData::TEventData ( ) [inline]

A storage for the last 64 events (as bits)

Definition at line 66 of file EventCounterData.hpp.

Definition at line 76 of file EventCounterData.hpp.

TEventData::TEventData ( const TEventData copy) [inline]

Definition at line 93 of file EventCounterData.hpp.


Member Function Documentation

double TEventData::Bin ( int  n,
double  p,
int  r 
) [inline]

Definition at line 299 of file EventCounterData.hpp.

float TEventData::binaryBayesUpdate ( float  Pold,
float  P 
) [inline]

< Updated probability

Definition at line 304 of file EventCounterData.hpp.

float TEventData::computeSemiStaticLikelihood ( int  N) [inline]

Returns the probability of the cell having dynamics after 2^N Observations. The larger the N, and higher the value, the more "Semi-static" is the cell. Note that the filter returns 0.5 >= P <=1.0 and P = 0.0 only if there is not enough evidence about the Behaviour

Definition at line 375 of file EventCounterData.hpp.

Definition at line 120 of file EventCounterData.hpp.

double TEventData::entryL ( ) [inline]

Definition at line 275 of file EventCounterData.hpp.

double TEventData::exitL ( ) [inline]

Definition at line 280 of file EventCounterData.hpp.

double TEventData::fac ( int  n) [inline]

Definition at line 291 of file EventCounterData.hpp.

bool TEventData::getBit ( int  ind) [inline]

Definition at line 113 of file EventCounterData.hpp.

int TEventData::getEntryN ( ) [inline]

Expected number of observations/event.

Definition at line 264 of file EventCounterData.hpp.

int TEventData::getExitN ( ) [inline]

Expected number of observations/event.

Definition at line 269 of file EventCounterData.hpp.

Returns the probability of static empty

Definition at line 348 of file EventCounterData.hpp.

int TEventData::getObservations ( ) [inline]

Definition at line 145 of file EventCounterData.hpp.

77 Compute different probabilities for the cell Compute the probability of this cell being Static occupied.

Definition at line 325 of file EventCounterData.hpp.

float TEventData::getOccupancyNow ( ) [inline]

Definition at line 404 of file EventCounterData.hpp.

double TEventData::L ( ) [inline]

Definition at line 285 of file EventCounterData.hpp.

void TEventData::normalizeProb ( float &  p) [inline]

To prevent numerical difficulties

Definition at line 312 of file EventCounterData.hpp.

const TEventData& TEventData::operator= ( const TEventData copy) [inline]

Definition at line 81 of file EventCounterData.hpp.

We are in Exit state

Definition at line 201 of file EventCounterData.hpp.

float TEventData::predictOccupancy ( int  N) [inline]

77 Predict

Testing

end testing

Definition at line 432 of file EventCounterData.hpp.

void TEventData::Reset ( ) [inline]

Definition at line 104 of file EventCounterData.hpp.

void TEventData::updateEntryEvent ( uint8_t  meas,
float  w 
) [inline]

Update Entry event (Cell is Free)

OCC

Definition at line 248 of file EventCounterData.hpp.

void TEventData::updateExitEvent ( uint8_t  meas,
float  w 
) [inline]

Update Exit event (cell is OCC)

OCC

Definition at line 231 of file EventCounterData.hpp.

void TEventData::updateSimple ( uint8_t  meas) [inline]

Updates a new measurement

OCC

cell is considered Occupied

Just update

Definition at line 153 of file EventCounterData.hpp.

void TEventData::updateSimple ( uint8_t  meas,
float  w 
) [inline]

Updates a new measurement

OCC

cell is considered Occupied

Just update

Definition at line 177 of file EventCounterData.hpp.


Member Data Documentation

Number of times the cell is perceived as occupied.

Definition at line 62 of file EventCounterData.hpp.

Definition at line 59 of file EventCounterData.hpp.

Definition at line 63 of file EventCounterData.hpp.

Number of exit events ( OCC 2 EMP)

Definition at line 60 of file EventCounterData.hpp.

Number of times the cell is perceived as empty.

Definition at line 64 of file EventCounterData.hpp.

Occupancy value.

Definition at line 58 of file EventCounterData.hpp.


The documentation for this struct was generated from the following file:


ndt_map
Author(s): Todor Stoyanov, Jari Saarinen, Henrik Andreasson
autogenerated on Mon Jan 6 2014 11:31:57