![]() |
CMlib
Cell mapping algorithms in C++
|
Base class for classes describing state space discretization. More...
#include <css.h>
Public Member Functions | |
virtual const CellType & | getCellAtState (const StateVectorType &state) const =0 |
Returns the cell corresponding to a point in the state space (const) More... | |
virtual CellType & | getCellAtState (const StateVectorType &state)=0 |
Returns the cell corresponding to a point in the state space. More... | |
virtual const CellType & | getCell (const IDType id) const =0 |
Returns the cell with the given ID (const) More... | |
virtual CellType & | getCell (const IDType id)=0 |
Returns the cell with the given ID. More... | |
virtual const StateVectorType & | getCenter () const =0 |
virtual const StateVectorType & | getWidth () const =0 |
Base class for classes describing state space discretization.
This is an abstract class describing a simple interface for cell state spaces. Every derived CellStateSpace class should implement two query functions: getCell: to return a state space cell based on its unique ID getCellAtState: to return a state space cell which corresponds to a given point in the state space
CellType | type of the used cell. |
IDType | type of the ID of the cells (typically 32 or 64-bit unsigned integers). |
StateVectorType | type of the state vector corresponding to the state space. |
|
pure virtual |
Returns the cell with the given ID (const)
Implemented in cm::UniformCellStateSpace< CellType, IDType, StateVectorType >.
|
pure virtual |
Returns the cell with the given ID.
Implemented in cm::UniformCellStateSpace< CellType, IDType, StateVectorType >.
|
pure virtual |
Returns the cell corresponding to a point in the state space (const)
Implemented in cm::UniformCellStateSpace< CellType, IDType, StateVectorType >.
|
pure virtual |
Returns the cell corresponding to a point in the state space.
Implemented in cm::UniformCellStateSpace< CellType, IDType, StateVectorType >.
|
pure virtual |
Implemented in cm::UniformCellStateSpace< CellType, IDType, StateVectorType >.
|
pure virtual |
Implemented in cm::UniformCellStateSpace< CellType, IDType, StateVectorType >.