#include <mock_grid_cell.h>
Public Member Functions | |
std::unique_ptr< GridCell > | clone () const override |
double | discrepancy (const AreaOccupancyObservation &aoo) const override |
MockGridCell (double occ_prob=Default_Occ_Prob) | |
void | operator+= (const AreaOccupancyObservation &aoo) override |
Public Member Functions inherited from GridCell | |
virtual size_t | deserialize (const std::vector< char > &data, size_t pos=0) |
GridCell (const Occupancy &occ) | |
GridCell (const GridCell &gc)=default | |
GridCell (GridCell &&gc)=default | |
virtual const Occupancy & | occupancy () const |
operator bool () const | |
operator double () const | |
GridCell & | operator= (const GridCell &gc)=default |
GridCell & | operator= (GridCell &&gc)=default |
virtual std::vector< char > | serialize () const |
virtual | ~GridCell ()=default |
Static Public Attributes | |
static constexpr double | Default_Occ_Prob = 0.5 |
Additional Inherited Members | |
Protected Attributes inherited from GridCell | |
Occupancy | _occupancy |
Definition at line 6 of file mock_grid_cell.h.
|
inline |
Definition at line 10 of file mock_grid_cell.h.
|
inlineoverridevirtual |
Reimplemented from GridCell.
Definition at line 13 of file mock_grid_cell.h.
|
inlineoverridevirtual |
Reimplemented from GridCell.
Definition at line 21 of file mock_grid_cell.h.
|
inlineoverridevirtual |
Reimplemented from GridCell.
Definition at line 17 of file mock_grid_cell.h.
|
static |
Definition at line 8 of file mock_grid_cell.h.