|
Robotics Library
0.6.2
|
Go to the documentation of this file.
27 #ifndef _RL_PLAN_WORKSPACESPHEREEXPLORER_H_
28 #define _RL_PLAN_WORKSPACESPHEREEXPLORER_H_
32 #include <boost/graph/adjacency_list.hpp>
33 #include <boost/random/mersenne_twister.hpp>
34 #include <boost/random/uniform_on_sphere.hpp>
35 #include <boost/random/variate_generator.hpp>
70 void seed(const ::boost::mt19937::result_type& value);
94 typedef ::boost::adjacency_list<
97 ::boost::bidirectionalS,
101 typedef ::boost::graph_traits< Graph >::edge_descriptor
Edge;
107 typedef ::boost::graph_traits< Graph >::vertex_descriptor
Vertex;
125 ::std::multiset< WorkspaceSphere >
queue;
127 ::boost::variate_generator< ::boost::mt19937, ::boost::uniform_on_sphere< ::rl::math::Real > >
rand;
135 #endif // _RL_PLAN_WORKSPACESPHEREEXPLORER_H_
::rl::math::Vector3 * goal
Definition: WorkspaceSphereExplorer.h:72
::boost::variate_generator< ::boost::mt19937, ::boost::uniform_on_sphere< ::rl::math::Real > > rand
Definition: WorkspaceSphereExplorer.h:127
Graph graph
Definition: WorkspaceSphereExplorer.h:123
::boost::graph_traits< Graph >::edge_descriptor Edge
Definition: WorkspaceSphereExplorer.h:101
virtual ~WorkspaceSphereExplorer()
Definition: WorkspaceSphereExplorer.cpp:60
WorkspaceSphereExplorer()
Definition: WorkspaceSphereExplorer.cpp:40
::Eigen::Matrix< Real, 3, 1 > Vector3
Definition: Vector.h:45
Greedy
Definition: WorkspaceSphereExplorer.h:52
bool explore()
Definition: WorkspaceSphereExplorer.cpp:95
@ GREEDY_SOURCE_DISTANCE
Definition: WorkspaceSphereExplorer.h:54
WorkspaceSphere sphere
Definition: WorkspaceSphereExplorer.h:91
@ GREEDY_SPACE
Definition: WorkspaceSphereExplorer.h:55
bool isCovered(const ::rl::math::Vector3 &point) const
Definition: WorkspaceSphereExplorer.cpp:247
Definition: WorkspaceSphereExplorer.h:90
::std::pair< EdgeIterator, EdgeIterator > EdgeIteratorPair
Definition: WorkspaceSphereExplorer.h:105
Vertex begin
Definition: WorkspaceSphereExplorer.h:119
void getPath(WorkspaceSphereList &path) const
Definition: WorkspaceSphereExplorer.cpp:216
::std::list< WorkspaceSphere > WorkspaceSphereList
Definition: WorkspaceSphereList.h:38
::std::multiset< WorkspaceSphere > queue
Definition: WorkspaceSphereExplorer.h:125
::rl::math::Vector3 * start
Definition: WorkspaceSphereExplorer.h:84
Definition: WorkspaceSphere.h:39
::boost::graph_traits< Graph >::edge_iterator EdgeIterator
Definition: WorkspaceSphereExplorer.h:103
Vertex addVertex(const WorkspaceSphere &sphere)
Definition: WorkspaceSphereExplorer.cpp:78
::rl::math::Real radius
Definition: WorkspaceSphereExplorer.h:78
DistanceModel * model
Definition: WorkspaceSphereExplorer.h:76
Definition: DistanceModel.h:41
@ GREEDY_DISTANCE
Definition: WorkspaceSphereExplorer.h:53
void reset()
Definition: WorkspaceSphereExplorer.cpp:278
::std::pair< VertexIterator, VertexIterator > VertexIteratorPair
Definition: WorkspaceSphereExplorer.h:111
::rl::math::Real range
Definition: WorkspaceSphereExplorer.h:80
::std::size_t samples
Definition: WorkspaceSphereExplorer.h:82
Vertex end
Definition: WorkspaceSphereExplorer.h:121
void seed(const ::boost::mt19937::result_type &value)
Definition: WorkspaceSphereExplorer.cpp:287
Edge addEdge(const Vertex &u, const Vertex &v)
Definition: WorkspaceSphereExplorer.cpp:65
double Real
Definition: Real.h:34
Greedy greedy
Definition: WorkspaceSphereExplorer.h:74
::boost::graph_traits< Graph >::vertex_descriptor Vertex
Definition: WorkspaceSphereExplorer.h:107
Definition: WorkspaceSphereExplorer.h:49
::boost::graph_traits< Graph >::vertex_iterator VertexIterator
Definition: WorkspaceSphereExplorer.h:109
Viewer * viewer
Definition: WorkspaceSphereExplorer.h:86
::boost::adjacency_list< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, VertexBundle > Graph
Definition: WorkspaceSphereExplorer.h:99