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