|
|
| | NeighborhoodFinderMethod (const Type _type=Type::OTHER) |
| |
| | NeighborhoodFinderMethod (XMLNode &_node, const Type _type=Type::OTHER, const bool _requireDM=true) |
| |
| virtual | ~NeighborhoodFinderMethod ()=default |
| |
|
| virtual void | Print (std::ostream &_os) const override |
| |
|
| Type | GetType () const noexcept |
| |
| virtual size_t & | GetK () noexcept |
| |
| virtual double & | GetRadius () noexcept |
| |
| virtual void | SetDMLabel (const std::string &_label) noexcept |
| |
| virtual const std::string & | GetDMLabel () const noexcept |
| |
|
| virtual void | FindNeighbors (RoadmapType *const _r, const Cfg &_cfg, const VertexSet &_candidates, OutputIterator _out)=0 |
| |
| virtual void | FindNeighbors (GroupRoadmapType *const _r, const GroupCfgType &_cfg, const VertexSet &_candidates, OutputIterator _out)=0 |
| |
| template<typename AbstractRoadmapType > |
| void | FindNeighbors (AbstractRoadmapType *const _r, const typename AbstractRoadmapType::CfgType &_cfg, OutputIterator _out) |
| |
| | MPBaseObject (const std::string &_label="", const std::string &_name="", bool _debug=false) |
| |
| | MPBaseObject (XMLNode &_node) |
| |
| virtual | ~MPBaseObject () |
| |
| virtual void | Initialize () |
| |
| const std::string & | GetName () const |
| | Get the class name for this object. More...
|
| |
| const std::string & | GetLabel () const |
| | Get the unique label for this object. More...
|
| |
| std::string | GetNameAndLabel () const |
| | Get the unique string identifier for this object "m_name::m_label". More...
|
| |
| void | SetLabel (const std::string &) |
| | Set the unique label for this object. More...
|
| |
| void | SetMPLibrary (MPLibrary *) noexcept |
| | Set the owning MPLibrary. More...
|
| |
| MPLibrary * | GetMPLibrary () const noexcept |
| | Get the owning MPLibrary. More...
|
| |
| bool | IsRunning () const noexcept |
| | Check the library's running flag. More...
|
| |
| MPProblem * | GetMPProblem () const noexcept |
| | Get the library's current MPProblem. More...
|
| |
| Environment * | GetEnvironment () const noexcept |
| | Get the current environment. More...
|
| |
| MPTask * | GetTask () const noexcept |
| | Get the current task. More...
|
| |
| GroupTask * | GetGroupTask () const noexcept |
| | Get the current group task. More...
|
| |
| MPSolutionType * | GetMPSolution () const noexcept |
| |
| RoadmapType * | GetRoadmap (Robot *const _r=nullptr) const noexcept |
| | Get the current free-space roadmap. More...
|
| |
| GroupRoadmapType * | GetGroupRoadmap (RobotGroup *const _g=nullptr) const noexcept |
| | Get the current free-space group roadmap. More...
|
| |
| RoadmapType * | GetBlockRoadmap (Robot *const _r=nullptr) const noexcept |
| | Get the current obstacle-space roadmap. More...
|
| |
| Path * | GetPath (Robot *const _r=nullptr) const noexcept |
| |
| GroupPath * | GetGroupPath (RobotGroup *const _g=nullptr) const noexcept |
| | Get the current best group path. More...
|
| |
| StatClass * | GetStatClass () const noexcept |
| | Get the current StatClass. More...
|
| |
| LocalObstacleMap * | GetLocalObstacleMap () const noexcept |
| | Get the local obstacle map. More...
|
| |
Base algorithm abstraction for NeighborhoodFinders, which are methods that solve nearest-neighbor queries against configurations in a roadmap.
The primary function 'FindNeighbors' takes an input configuration and optionally a set of candidate neighbors. It returns the computed set of "nearest" neighbors and their distances (through the 'Neighbor' structure). @usage
NeighborhoodFinderPointer nf = this->GetNeighborhoodFinder(m_nfLabel);
std::vector<Neighbor> neighbors;
nf->FindNeighbors(this->
GetRoadmap(), queryCfg, candidates,
std::back_inserter(neighbors));
RoadmapType * GetRoadmap(Robot *const _r=nullptr) const noexcept
Get the current free-space roadmap.
Definition: MPBaseObject.cpp:123
RoadmapType::VertexSet VertexSet
Definition: NeighborhoodFinderMethod.h:41