ompl::control::PlannerData Class Reference

Datatype holding data a planner can expose for debug purposes. More...

#include <PlannerData.h>

Inheritance diagram for ompl::control::PlannerData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void clear (void)
 Clear any stored data.
 PlannerData (void)
int recordEdge (const base::State *s1, const base::State *s2, const Control *c, double duration)
 Record an edge between two states. This function is called by planners to fill states, stateIndex and edges. If the same state/edge is seen multiple times, it is added only once.
virtual ~PlannerData (void)

Public Attributes

std::vector< std::vector
< double > > 
controlDurations
 controlDurations[i][j] contains the duration that controls[i][j] needs to be applied to take the system from state[i] to state[j]
std::vector< std::vector
< const Control * > > 
controls
 For each i, controls[i] contains the controls[i][j] that are needed to take the system from state[i] to state[j].

Detailed Description

Datatype holding data a planner can expose for debug purposes.

Definition at line 49 of file control/PlannerData.h.


Constructor & Destructor Documentation

ompl::control::PlannerData::PlannerData ( void   )  [inline]

Reimplemented from ompl::base::PlannerData.

Definition at line 52 of file control/PlannerData.h.

virtual ompl::control::PlannerData::~PlannerData ( void   )  [inline, virtual]

Reimplemented from ompl::base::PlannerData.

Definition at line 56 of file control/PlannerData.h.


Member Function Documentation

virtual void ompl::control::PlannerData::clear ( void   )  [virtual]

Clear any stored data.

Reimplemented from ompl::base::PlannerData.

int ompl::control::PlannerData::recordEdge ( const base::State s1,
const base::State s2,
const Control c,
double  duration 
)

Record an edge between two states. This function is called by planners to fill states, stateIndex and edges. If the same state/edge is seen multiple times, it is added only once.


Member Data Documentation

std::vector< std::vector< double > > ompl::control::PlannerData::controlDurations

controlDurations[i][j] contains the duration that controls[i][j] needs to be applied to take the system from state[i] to state[j]

Definition at line 76 of file control/PlannerData.h.

std::vector< std::vector< const Control* > > ompl::control::PlannerData::controls

For each i, controls[i] contains the controls[i][j] that are needed to take the system from state[i] to state[j].

Definition at line 71 of file control/PlannerData.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ompl
Author(s): Ioan Sucan/isucan@rice.edu, Mark Moll/mmoll@rice.edu, Lydia Kavraki/kavraki@rice.edu
autogenerated on Fri Jan 11 11:37:49 2013