|
Robotics Library
0.7.0
|
Go to the documentation of this file.
31 #include <boost/graph/adjacency_list.hpp>
32 #include <boost/pending/disjoint_sets.hpp>
71 virtual void construct(const ::std::size_t& steps);
73 virtual ::std::string
getName()
const;
110 typedef ::boost::adjacency_list_traits<
113 ::boost::undirectedS,
132 typedef ::boost::adjacency_list<
135 ::boost::undirectedS,
146 typedef ::boost::graph_traits<Graph>::edge_descriptor
Edge;
160 typedef ::boost::property_map<Graph, ::std::size_t VertexBundle::*>::type
VertexRankMap;
170 ::boost::disjoint_sets<VertexRankMap, VertexParentMap>
ds;
182 #endif // RL_PLAN_PRM_H
NearestNeighbors * getNearestNeighbors() const
Definition: Prm.cpp:126
::rl::math::Real radius
Maximum radius for connecting neighbors.
Definition: Prm.h:96
::boost::graph_traits< Graph >::edge_iterator EdgeIterator
Definition: Prm.h:148
VectorList getPath()
Get solution path.
Definition: Prm.cpp:144
NearestNeighbors * nn
Definition: Prm.h:143
Vertex parent
Definition: Prm.h:123
Definition: Verifier.h:39
Sampler * sampler
Definition: Prm.h:98
::std::pair< EdgeIterator, EdgeIterator > EdgeIteratorPair
Definition: Prm.h:150
void setNearestNeighbors(NearestNeighbors *nearestNeighbors)
Definition: Prm.cpp:200
virtual ::std::string getName() const
Definition: Prm.cpp:108
::std::pair< Distance, Value > Neighbor
Definition: NearestNeighbors.h:48
::std::size_t rank
Definition: Prm.h:129
::std::list< ::rl::math::Vector > VectorList
Definition: VectorList.h:37
::std::size_t degree
Maximum degree per vertex.
Definition: Prm.h:90
Definition: NearestNeighbors.h:42
Verifier * verifier
Definition: Prm.h:100
::boost::property_map< Graph, ::std::size_t VertexBundle::* >::type VertexRankMap
Definition: Prm.h:160
::std::size_t k
Maximum number of tested neighbors.
Definition: Prm.h:93
::boost::adjacency_list< ::boost::listS, ::boost::listS, ::boost::undirectedS, VertexBundle, EdgeBundle, GraphBundle > Graph
Definition: Prm.h:139
Vertex addVertex(const VectorPtr &q)
Definition: Prm.cpp:80
::rl::math::Real weight
Definition: Prm.h:105
::boost::graph_traits< Graph >::edge_descriptor Edge
Definition: Prm.h:146
::std::pair< VertexIterator, VertexIterator > VertexIteratorPair
Definition: Prm.h:156
virtual void construct(const ::std::size_t &steps)
Definition: Prm.cpp:96
Graph graph
Definition: Prm.h:174
Prm()
Definition: Prm.cpp:42
VectorPtr q
Definition: Prm.h:127
void insert(const Vertex &vertex)
Definition: Prm.cpp:162
void reset()
Reset planner.
Definition: Prm.cpp:191
::rl::math::Real distance
Definition: Prm.h:119
Vertex predecessor
Definition: Prm.h:125
::boost::disjoint_sets< VertexRankMap, VertexParentMap > ds
Definition: Prm.h:170
Probabilistic Roadmaps.
Definition: Prm.h:65
::std::size_t getNumEdges() const
Definition: Prm.cpp:132
::boost::adjacency_list_traits< ::boost::listS, ::boost::listS, ::boost::undirectedS, ::boost::listS >::vertex_descriptor Vertex
Definition: Prm.h:108
::std::size_t index
Definition: Prm.h:121
Vertex end
Definition: Prm.h:172
bool solve()
Find collision free path.
Definition: Prm.cpp:206
::boost::property_map< Graph, void *VertexBundle::* >::type VertexParentMap
Definition: Prm.h:158
::std::shared_ptr< ::rl::math::Vector > VectorPtr
Definition: VectorPtr.h:37
Vertex begin
Definition: Prm.h:168
::boost::graph_traits< Graph >::vertex_iterator VertexIterator
Definition: Prm.h:154
NearestNeighbors::Neighbor Neighbor
Definition: Prm.h:152
Edge addEdge(const Vertex &u, const Vertex &v, const ::rl::math::Real &weight)
Definition: Prm.cpp:64
double Real
Definition: Real.h:42
::std::size_t getNumVertices() const
Definition: Prm.cpp:138
virtual ~Prm()
Definition: Prm.cpp:59
Robotics Library.
Definition: AnalogInput.cpp:30