
#include <planner.h>
Inheritance diagram for Planner::

Public Methods | |
| Planner (Problem *problem) | |
| A constructor that initializes data members. | |
| ~Planner () | |
| void | Reset () |
| Reset the planner. | |
| virtual void | Construct ()=0 |
| Generate a planning graph. | |
| virtual bool | Plan ()=0 |
| Attempt to solve an Initial-Goal query. | |
| virtual void | WriteGraphs (ofstream &fout)=0 |
| Write roadmap or trees to a file. | |
| virtual void | ReadGraphs (ifstream &fin)=0 |
| Read roadmap or trees from a file. | |
| bool | GapSatisfied (const MSLVector &x1, const MSLVector &x2) |
| Determine if the gap error is staisfied. | |
Public Attributes | |
| double | CumulativePlanningTime |
| Total amount of time spent on planning. | |
| double | CumulativeConstructTime |
| Total amount of time spent on construction. | |
| list<MSLVector> | Path |
| The solution path, as a list of states. | |
| list<MSLVector> | Policy |
| The solution policy, as a list of inputs. | |
| MSLVector | GapState |
| The last state in a path before a jump occurs. | |
| bool | Holonomic |
| Set to true to ignore inputs and avoid integration (default false). This will make "regular" path planning much faster. | |
| MSLVector | GapError |
| How much gap error is allowed for each element in bidirectional search. | |
| MSLTree* | T |
| A search tree (used by incremental planners, but included in Planner base to allow GuiPlanner to handle all planners). | |
| MSLTree* | T2 |
| A second tree (if needed). | |
| MSLGraph* | Roadmap |
| A graph to represent a roadmap (used by roadmap planners, but included in Planner base to allow GuiPlanner to handle all planners). | |
| list<double> | TimeList |
| The times associated with a solution path. | |
| list<MSLVector> | StateList |
| The states associated with a solution path. | |
| list<MSLVector> | InputList |
| The inputs associated with a solution path. | |
| int | NumNodes |
| Number of nodes to generate in a single execution of Plan or Construct. | |
| double | PlannerDeltaT |
| Time step to use for incremental planners. | |
Protected Methods | |
| MSLVector | RandomState () |
| Choose a state at random. | |
| MSLVector | NormalState (MSLVector mean, double sd) |
| Pick a state using a Normal distribution. | |
Protected Attributes | |
| MSLRandomSource | R |
|
|
A constructor that initializes data members.
|
|
|
|
|
|
Generate a planning graph.
Reimplemented in IncrementalPlanner, and PRM. |
|
|
Determine if the gap error is staisfied.
|
|
|
Pick a state using a Normal distribution.
|
|
|
Attempt to solve an Initial-Goal query.
Reimplemented in FDP, FDPBi, PRM, RRT, RRTCon, RRTDual, RRTExtExt, RRTExtCon, and RRTConCon. |
|
|
Choose a state at random.
|
|
|
Read roadmap or trees from a file.
Reimplemented in IncrementalPlanner, and RoadmapPlanner. |
|
|
Reset the planner.
|
|
|
Write roadmap or trees to a file.
Reimplemented in IncrementalPlanner, and RoadmapPlanner. |
|
|
Total amount of time spent on construction.
|
|
|
Total amount of time spent on planning.
|
|
|
How much gap error is allowed for each element in bidirectional search.
|
|
|
The last state in a path before a jump occurs.
|
|
|
Set to true to ignore inputs and avoid integration (default false). This will make "regular" path planning much faster.
|
|
|
The inputs associated with a solution path.
|
|
|
Number of nodes to generate in a single execution of Plan or Construct.
|
|
|
The solution path, as a list of states.
|
|
|
Time step to use for incremental planners.
|
|
|
The solution policy, as a list of inputs.
|
|
|
|
|
|
A graph to represent a roadmap (used by roadmap planners, but included in Planner base to allow GuiPlanner to handle all planners).
|
|
|
The states associated with a solution path.
|
|
|
A search tree (used by incremental planners, but included in Planner base to allow GuiPlanner to handle all planners).
|
|
|
A second tree (if needed).
|
|
|
The times associated with a solution path.
|