A container for strategies specific to a grid cell model. More...
#include <grid_cell_strategy.h>
Public Member Functions | |
std::shared_ptr< GridCellFactory > | cell_factory () |
Returns a cell factory that creates cells that implement a specific model. More... | |
std::shared_ptr< ScanCostEstimator > | cost_est () |
Returns a scan cost estimator. More... | |
GridCellStrategy (std::shared_ptr< GridCellFactory > factory, std::shared_ptr< ScanCostEstimator > cost_est, std::shared_ptr< CellOccupancyEstimator > occ_est) | |
Initializes a grid cell model. More... | |
std::shared_ptr< CellOccupancyEstimator > | occupancy_est () |
Returns an occupancy estimator. More... | |
Private Attributes | |
std::shared_ptr< GridCellFactory > | _cell_factory |
std::shared_ptr< ScanCostEstimator > | _cost_estimator |
std::shared_ptr< CellOccupancyEstimator > | _occupancy_estimator |
A container for strategies specific to a grid cell model.
Definition at line 13 of file grid_cell_strategy.h.
|
inline |
Initializes a grid cell model.
factory | The Cell factory that creates cells of a specific type. |
cost_est | A scan cost estimator. |
occ_ess | An occupancy estimator. |
Definition at line 21 of file grid_cell_strategy.h.
|
inline |
Returns a cell factory that creates cells that implement a specific model.
Definition at line 31 of file grid_cell_strategy.h.
|
inline |
Returns a scan cost estimator.
Definition at line 37 of file grid_cell_strategy.h.
|
inline |
Returns an occupancy estimator.
Definition at line 43 of file grid_cell_strategy.h.
|
private |
Definition at line 49 of file grid_cell_strategy.h.
|
private |
Definition at line 51 of file grid_cell_strategy.h.
|
private |
Definition at line 53 of file grid_cell_strategy.h.