#include <cell_occupancy_estimator.h>
Estimates the occupancy of cell according to a strategy defined by subclasses.
Definition at line 56 of file cell_occupancy_estimator.h.
CellOccupancyEstimator::CellOccupancyEstimator |
( |
double |
base_occ_prob, |
|
|
double |
base_empty_prob |
|
) |
| |
|
inline |
Initializes an estimator with probability of cell to be occupied and empty.
- Parameters
-
base_occ_prob | The initial probability of a cell to be occupied. |
base_empty_prob | The initial probability of a cell to be empty. |
Definition at line 64 of file cell_occupancy_estimator.h.
double CellOccupancyEstimator::base_empty_prob |
( |
| ) |
|
|
inlineprotected |
double CellOccupancyEstimator::base_occ_prob |
( |
| ) |
|
|
inlineprotected |
virtual Occupancy CellOccupancyEstimator::estimate_occupancy |
( |
const Beam & |
beam, |
|
|
const Rectangle & |
cell_bnds, |
|
|
bool |
is_occ |
|
) |
| |
|
pure virtual |
Estimates the probaility of cell occupancy according to a strategy defined by subclasses.
- Parameters
-
beam | A beam bounded with a given cell. |
cell_bnds | Bounds of a cell in the context of the world. |
is_occ | The probability of a cell to be occupied. |
Implemented in AreaOccupancyEstimator, and ConstOccupancyEstimator.
double CellOccupancyEstimator::_base_empty_prob |
|
private |
double CellOccupancyEstimator::_base_occ_prob |
|
private |
The documentation for this class was generated from the following file: