![]() |
Parasol Planning Library (PPL)
|
#include <LocalObstacleMap.h>
Public Types | |
Motion Planning Types | |
| typedef GenericStateGraph< Cfg, DefaultWeight< Cfg > > | RoadmapType |
| typedef size_t | VID |
Local Types | |
| typedef std::unordered_set< VID > | VertexSet |
| typedef std::unordered_map< VID, VertexSet > | MapType |
Public Member Functions | |||||
Construction | |||||
| LocalObstacleMap (StatClass *const _stats) | |||||
Accessors | |||||
| const VertexSet & | Get (const VID &_vid) const | ||||
| template<typename ContainerType > | |||||
| const VertexSet | Get (const ContainerType &_c) const | ||||
| const VertexSet & | Inverse (const VID &_vid) const | ||||
| template<typename ContainerType > | |||||
| const VertexSet | Inverse (const ContainerType &_c) const | ||||
Addition | |||||
Add a new obstacle configuration to the local obstacle map of a given free node.
| |||||
| void | Add (const VID &_obst, const VID &_free) | ||||
| template<typename ContainerType > | |||||
| void | Add (const ContainerType &_obst, const VID &_free) | ||||
| template<typename ContainerType > | |||||
| void | Add (const VID &_obst, const ContainerType &_free) | ||||
| template<typename ContainerType > | |||||
| void | Add (const ContainerType &_obst, const ContainerType &_free) | ||||
Deletion | |||||
Delete an obstacle configuration from one or more local obstacle maps.
| |||||
| void | Delete (const VID &_obst=INVALID_VID, const VID &_free=INVALID_VID) | ||||
| template<typename ContainerType > | |||||
| void | Delete (const VID &_obst, const ContainerType &_free) | ||||
| template<typename ContainerType > | |||||
| void | Delete (const ContainerType &_obst, const VID &_free=INVALID_VID) | ||||
| template<typename ContainerType > | |||||
| void | Delete (const ContainerType &_obst, const ContainerType &_free) | ||||
Maintains an associative mapping between free and obstacle configurations to avoid running a neighborhood finder on the obstacle map (which is typically huge).
| typedef std::unordered_map<VID, VertexSet> LocalObstacleMap::MapType |
| typedef std::unordered_set<VID> LocalObstacleMap::VertexSet |
| typedef size_t LocalObstacleMap::VID |
| LocalObstacleMap::LocalObstacleMap | ( | StatClass *const | _stats | ) |
| void LocalObstacleMap::Add | ( | const ContainerType & | _obst, |
| const ContainerType & | _free | ||
| ) |
| void LocalObstacleMap::Add | ( | const ContainerType & | _obst, |
| const VID & | _free | ||
| ) |
| void LocalObstacleMap::Add | ( | const VID & | _obst, |
| const ContainerType & | _free | ||
| ) |
| void LocalObstacleMap::Delete | ( | const ContainerType & | _obst, |
| const ContainerType & | _free | ||
| ) |
| void LocalObstacleMap::Delete | ( | const ContainerType & | _obst, |
| const VID & | _free = INVALID_VID |
||
| ) |
| void LocalObstacleMap::Delete | ( | const VID & | _obst, |
| const ContainerType & | _free | ||
| ) |
| void LocalObstacleMap::Delete | ( | const VID & | _obst = INVALID_VID, |
| const VID & | _free = INVALID_VID |
||
| ) |
| const LocalObstacleMap::VertexSet LocalObstacleMap::Get | ( | const ContainerType & | _c | ) | const |
Get the aggregate local obstacle map for a set of free vertices.
| _c | A container of free vertices. |
| const LocalObstacleMap::VertexSet & LocalObstacleMap::Get | ( | const VID & | _vid | ) | const |
Get the local obstacle map for a given free vertex.
| _vid | A free vertex. |
| const LocalObstacleMap::VertexSet LocalObstacleMap::Inverse | ( | const ContainerType & | _c | ) | const |
Get the aggregate inverse local obstacle map for a set of obstacle vertices.
| _c | A set of obstacle vertices. |
| const LocalObstacleMap::VertexSet & LocalObstacleMap::Inverse | ( | const VID & | _vid | ) | const |
Get the inverse local obstacle map for a given obstacle vertex.
| _vid | An obstacle vertex. |