KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
PerturbationTreePlanner Class Reference

A tree-based randomized planner that extends the roadmap by sampling the neighborhood of existing samples. More...

#include <MotionPlanner.h>

Inheritance diagram for PerturbationTreePlanner:
TreeRoadmapPlanner

Public Member Functions

 PerturbationTreePlanner (CSpace *s)
 
virtual void GenerateConfig (Config &x)
 
virtual NodeAddMilestone (const Config &x)
 
virtual void Cleanup ()
 
virtual NodeSelectMilestone (const std::vector< Node * > &milestones)
 
- Public Member Functions inherited from TreeRoadmapPlanner
 TreeRoadmapPlanner (CSpace *)
 
virtual NodeTestAndAddMilestone (const Config &x)
 
virtual NodeAddInfeasibleMilestone (const Config &x)
 
virtual NodeExtend ()
 
virtual void ConnectToNeighbors (Node *)
 
virtual EdgePlannerPtr TryConnect (Node *, Node *)
 
virtual void DeleteSubtree (Node *n)
 
virtual NodeClosestMilestone (const Config &x)
 
virtual int ClosestMilestoneIndex (const Config &x)
 
virtual NodeClosestMilestoneInComponent (int component, const Config &x)
 
virtual NodeClosestMilestoneInSubtree (Node *node, const Config &x)
 
NodeExtend (Node *n, const Config &x)
 
NodeTryExtend (Node *n, const Config &x)
 
void AttachChild (Node *p, Node *c, const EdgePlannerPtr &e)
 
NodeSplitEdge (Node *p, Node *n, Real u)
 
void CreatePath (Node *a, Node *b, MilestonePath &path)
 Creates the unique path from a to b. These MUST be in the same connected component.
 
virtual Real OptimizePath (Node *a, const std::vector< Node * > &goals, ObjectiveFunctionalBase *cost, MilestonePath &path)
 

Public Attributes

Real delta
 Neighborhood distance.
 
std::vector< Real > weights
 Node selection weights.
 
- Public Attributes inherited from TreeRoadmapPlanner
CSpacespace
 
std::vector< Node * > connectedComponents
 
Real connectionThreshold
 
std::vector< VectormilestoneConfigs
 
std::vector< Node * > milestones
 
std::shared_ptr< PointLocationBasepointLocator
 
Config x
 

Additional Inherited Members

- Public Types inherited from TreeRoadmapPlanner
typedef Graph::TreeNode< Milestone, EdgePlannerPtr > Node
 

Detailed Description

A tree-based randomized planner that extends the roadmap by sampling the neighborhood of existing samples.

The existing sample picked is selected with probability proportion to its value in the weight vector. By default, a new node is given weight 1.


The documentation for this class was generated from the following files: