#include <PerceptionGrid.h>
Public Member Functions | |
PerceptionCellState () | |
Void constructor. | |
~PerceptionCellState () | |
Destructor. | |
PerceptionCellState (const PerceptionCellState &perceptionCellstate) | |
Copy constructor. | |
PerceptionCellState & | operator= (const PerceptionCellState &c) |
Operator =. | |
void | setIsLSRContour () |
Sets the cell to LSRcontour. | |
void | setIsNotLSRContour () |
Sets the cell to not LSRcontour. | |
bool | isLSRContour () |
Says if the cell is LSRContour. | |
void | setState (bool unknown, int thirdType, bool local, bool exploredOnce) |
Method to set the state. | |
void | setLocal () |
Sets the cell to local, remembering its previous state. | |
void | setNotLocal () |
Sets the cell to not local, remembering its previous state. | |
void | setIsUnknown () |
Sets the cell state to unknown. | |
void | setIsFrontier () |
Sets the cell state to frontier. | |
void | setIsInternalNonFree () |
Sets the cell state to internal non free. | |
void | setIsInternalFree () |
Sets the cell state to internal free. | |
void | setIsObstacle () |
Sets the cell state to internal free. | |
bool | isLocal () |
Tells wether the cell is local or not. | |
bool | wasLocal () |
Tells if the cell was local before the last time it has been set to unlocal. | |
bool | isLRR () |
Tells if cell is LRR. | |
bool | isFrontier () |
Tells if cell is Frontier. | |
bool | isLSR () |
Tells if cell is LSR. | |
bool | isPrevExpl () |
Tells if cell is previously explored. | |
bool | isObstacle () |
Tells if cell is obstacle. | |
bool | isInternalFree () |
Tells if cell is Internal Free. | |
bool | isInternalNonFree () |
Tells if cell is Internal Non Free. | |
bool | isBoundary () |
bool | isLRRBoundary () |
Tells if cell is LRR Boundary. | |
bool | isUnknown () |
Tells if cell is unknown. | |
string | print () |
Print function. |
MipBaselib::PerceptionCellState::PerceptionCellState | ( | ) |
Void constructor.
MipBaselib::PerceptionCellState::~PerceptionCellState | ( | ) |
Destructor.
MipBaselib::PerceptionCellState::PerceptionCellState | ( | const PerceptionCellState & | perceptionCellstate | ) |
Copy constructor.
[in] | perceptionCellstate | The perceptionCellState to copy |
PerceptionCellState & MipBaselib::PerceptionCellState::operator= | ( | const PerceptionCellState & | c | ) |
Operator =.
[in] | perceptionCellstate | The perceptionCellState to copy |
void MipBaselib::PerceptionCellState::setIsLSRContour | ( | ) |
Sets the cell to LSRcontour.
void MipBaselib::PerceptionCellState::setIsNotLSRContour | ( | ) |
Sets the cell to not LSRcontour.
bool MipBaselib::PerceptionCellState::isLSRContour | ( | ) |
Says if the cell is LSRContour.
void MipBaselib::PerceptionCellState::setState | ( | bool | unknown, | |
int | thirdType, | |||
bool | local, | |||
bool | exploredOnce | |||
) |
Method to set the state.
[in] | perceptionCellBoundaryType | The "third" type of a PerceptionCell. |
[in] | local | Tells if PerceptionCell is local or global. |
[in] | exploredOnce | Tells if perceptionCell is explored once only or several times. |
void MipBaselib::PerceptionCellState::setLocal | ( | ) |
Sets the cell to local, remembering its previous state.
void MipBaselib::PerceptionCellState::setNotLocal | ( | ) |
Sets the cell to not local, remembering its previous state.
void MipBaselib::PerceptionCellState::setIsUnknown | ( | ) |
Sets the cell state to unknown.
void MipBaselib::PerceptionCellState::setIsFrontier | ( | ) |
void MipBaselib::PerceptionCellState::setIsInternalNonFree | ( | ) |
Sets the cell state to internal non free.
void MipBaselib::PerceptionCellState::setIsInternalFree | ( | ) |
Sets the cell state to internal free.
void MipBaselib::PerceptionCellState::setIsObstacle | ( | ) |
Sets the cell state to internal free.
bool MipBaselib::PerceptionCellState::isLocal | ( | ) |
Tells wether the cell is local or not.
bool MipBaselib::PerceptionCellState::wasLocal | ( | ) |
Tells if the cell was local before the last time it has been set to unlocal.
bool MipBaselib::PerceptionCellState::isLRR | ( | ) |
bool MipBaselib::PerceptionCellState::isFrontier | ( | ) |
bool MipBaselib::PerceptionCellState::isLSR | ( | ) |
Tells if cell is LSR.
bool MipBaselib::PerceptionCellState::isPrevExpl | ( | ) |
Tells if cell is previously explored.
bool MipBaselib::PerceptionCellState::isObstacle | ( | ) |
Tells if cell is obstacle.
bool MipBaselib::PerceptionCellState::isInternalFree | ( | ) |
Tells if cell is Internal Free.
bool MipBaselib::PerceptionCellState::isInternalNonFree | ( | ) |
Tells if cell is Internal Non Free.
bool MipBaselib::PerceptionCellState::isBoundary | ( | ) |
bool MipBaselib::PerceptionCellState::isLRRBoundary | ( | ) |
bool MipBaselib::PerceptionCellState::isUnknown | ( | ) |
Tells if cell is unknown.
string MipBaselib::PerceptionCellState::print | ( | ) |
Print function.