#include <viny_grid_cell.h>
Public Member Functions | |
BaseTBM () | |
BaseTBM (const BaseTBM &)=default | |
BaseTBM (const AreaOccupancyObservation &aoo) | |
BaseTBM (double occupied, double empty, double unknown, double conflict) | |
double | conflict () const |
double | empty () const |
void | normalize_conflict () |
double | occupied () const |
operator Occupancy () | |
BaseTBM & | operator+= (const BaseTBM &rhs) |
BaseTBM & | operator-= (const BaseTBM &rhs) |
BaseTBM & | operator= (const BaseTBM &)=default |
BaseTBM & | operator= (BaseTBM &&)=default |
double | unknown () const |
Private Member Functions | |
double & | belief_by_id (int id) |
const double & | belief_by_id (int id) const |
void | normalize () |
void | reset () |
Private Attributes | |
double | _conflict = 0.0 |
double | _empty = 0.0 |
double | _occupied = 0.0 |
double | _unknown = 1.0 |
Static Private Attributes | |
static const int | CONFLICT = 0b11 |
static const int | EMPTY = 0b01 |
static const int | NM = 4 |
static const int | OCCUPIED = 0b10 |
static const int | UNKNOWN = 0b00 |
Definition at line 7 of file viny_grid_cell.h.
|
inline |
Definition at line 13 of file viny_grid_cell.h.
|
default |
|
inline |
Definition at line 18 of file viny_grid_cell.h.
|
inline |
Definition at line 39 of file viny_grid_cell.h.
|
inlineprivate |
Definition at line 107 of file viny_grid_cell.h.
|
inlineprivate |
Definition at line 112 of file viny_grid_cell.h.
|
inline |
Definition at line 88 of file viny_grid_cell.h.
|
inline |
Definition at line 90 of file viny_grid_cell.h.
|
inlineprivate |
Definition at line 93 of file viny_grid_cell.h.
|
inline |
Definition at line 80 of file viny_grid_cell.h.
|
inline |
Definition at line 89 of file viny_grid_cell.h.
|
inlineexplicit |
Definition at line 75 of file viny_grid_cell.h.
Definition at line 43 of file viny_grid_cell.h.
Definition at line 59 of file viny_grid_cell.h.
|
inlineprivate |
Definition at line 105 of file viny_grid_cell.h.
|
inline |
Definition at line 91 of file viny_grid_cell.h.
|
private |
Definition at line 124 of file viny_grid_cell.h.
|
private |
Definition at line 122 of file viny_grid_cell.h.
|
private |
Definition at line 121 of file viny_grid_cell.h.
|
private |
Definition at line 123 of file viny_grid_cell.h.
|
staticprivate |
Definition at line 11 of file viny_grid_cell.h.
|
staticprivate |
Definition at line 10 of file viny_grid_cell.h.
|
staticprivate |
Definition at line 11 of file viny_grid_cell.h.
|
staticprivate |
Definition at line 10 of file viny_grid_cell.h.
|
staticprivate |
Definition at line 10 of file viny_grid_cell.h.