#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 PointAccumulator & | Unknown () |
Public Attributes | |
FloatPoint | acc |
int | n |
int | visits |
Static Public Attributes | |
static PointAccumulator * | unknown_ptr = 0 |
typedef point<float> GMapping::PointAccumulator::FloatPoint |
GMapping::PointAccumulator::PointAccumulator | ( | ) | [inline] |
GMapping::PointAccumulator::PointAccumulator | ( | int | i | ) | [inline] |
void GMapping::PointAccumulator::add | ( | const PointAccumulator & | p | ) | [inline] |
double GMapping::PointAccumulator::entropy | ( | ) | const [inline] |
Point GMapping::PointAccumulator::mean | ( | ) | const [inline] |
GMapping::PointAccumulator::operator double | ( | ) | const [inline] |
const PointAccumulator & GMapping::PointAccumulator::Unknown | ( | ) | [static] |
void GMapping::PointAccumulator::update | ( | bool | value, |
const Point & | p = Point(0,0) |
||
) | [inline] |
PointAccumulator * GMapping::PointAccumulator::unknown_ptr = 0 [static] |