Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GMapping::PointAccumulator Struct Reference

#include <smmap.h>

Public Types

typedef point< float > FloatPoint

Public Member Functions

void add (const PointAccumulator &p)
double entropy () const
Point mean () const
 operator double () const
 PointAccumulator ()
 PointAccumulator (int i)
void update (bool value, const Point &p=Point(0, 0))

Static Public Member Functions

static const PointAccumulatorUnknown ()

Public Attributes

FloatPoint acc
int n
int visits

Static Public Attributes

static PointAccumulatorunknown_ptr =0

Detailed Description

Definition at line 10 of file smmap.h.

Member Typedef Documentation

Definition at line 11 of file smmap.h.

Constructor & Destructor Documentation

GMapping::PointAccumulator::PointAccumulator ( )

Definition at line 16 of file smmap.h.

GMapping::PointAccumulator::PointAccumulator ( int  i)

Definition at line 17 of file smmap.h.

Member Function Documentation

void GMapping::PointAccumulator::add ( const PointAccumulator p)

Definition at line 22 of file smmap.h.

double GMapping::PointAccumulator::entropy ( ) const

Definition at line 40 of file smmap.h.

Point GMapping::PointAccumulator::mean ( ) const

Definition at line 20 of file smmap.h.

GMapping::PointAccumulator::operator double ( ) const

Definition at line 21 of file smmap.h.

const PointAccumulator & GMapping::PointAccumulator::Unknown ( )

Definition at line 5 of file smmap.cpp.

void GMapping::PointAccumulator::update ( bool  value,
const Point p = Point(0,0) 

Definition at line 30 of file smmap.h.

Member Data Documentation

FloatPoint GMapping::PointAccumulator::acc

Definition at line 25 of file smmap.h.

int GMapping::PointAccumulator::n

Definition at line 26 of file smmap.h.

PointAccumulator * GMapping::PointAccumulator::unknown_ptr =0

Definition at line 24 of file smmap.h.

int GMapping::PointAccumulator::visits

Definition at line 26 of file smmap.h.

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

Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22