39 #include <ompl/multilevel/datastructures/graphsampler/RandomVertex.h>
41 ompl::multilevel::BundleSpaceGraphSamplerRandomVertex::BundleSpaceGraphSamplerRandomVertex(
42 BundleSpaceGraph *bundleSpaceGraph)
43 : BaseT(bundleSpaceGraph)
47 void ompl::multilevel::BundleSpaceGraphSamplerRandomVertex::sampleImplementation(base::State *xRandom)
49 const Vertex v = boost::random_vertex(bundleSpaceGraph_->getGraph(), rng_boost);
50 bundleSpaceGraph_->getBundle()->getStateSpace()->copyState(xRandom, bundleSpaceGraph_->getGraph()[v]->state);