libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
DirectedPRM Class Reference
Inheritance diagram for DirectedPRM:
Planner

Public Member Functions

 DirectedPRM (Robot *robot, Graph *graph)
 
unsigned int getNumberOfAddedNode () const
 
unsigned int getNumberOfExpansions () const
 
unsigned int getNumberOfFailures () const
 
double getShootingFailureRate () const
 
double getConnectibleRate () const
 
void pause ()
 
bool initialize ()
 
bool setStartNode (std::tr1::shared_ptr< Configuration > Cs)
 
bool setGoalNode (std::tr1::shared_ptr< Configuration > Cg)
 
bool checkStopConditions ()
 
bool preConditions ()
 
virtual void expandOneStep ()
 
unsigned int run ()
 Run function.
 
bool trajFound ()
 test de trajectoire More...
 
bool linkNode (Node *N1)
 
void extractSmoothAndReplaceTraj ()
 
void updateConnections ()
 
- Public Member Functions inherited from Planner
 Planner ()
 Plain Constructor of the class.
 
 Planner (Robot *rob, Graph *graph)
 Constructor of the class. More...
 
virtual ~Planner ()
 Destructeur de la classe.
 
RobotgetActivRobot ()
 retourne le Robot activ More...
 
void setRobot (Robot *R)
 place le Robot utilisé pour la planification More...
 
GraphgetActivGraph ()
 obtient le Graph actif pour la planification More...
 
void setGraph (Graph *G)
 modifie le Graph actif pour la planification More...
 
bool setInit (confPtr_t Cs)
 place le Node initial de la planification More...
 
bool setGoal (confPtr_t Cg)
 place le Node final de la planification More...
 
NodegetInit ()
 obtient le Node intial de la planification More...
 
NodegetGoal ()
 obtient le Node final de la planification More...
 
confPtr_t getInitConf ()
 Get init configuration.
 
confPtr_t getGoalConf ()
 Get goal configuration.
 
bool getInitialized ()
 test si le Planner est initialisé pour la planification More...
 
void setInitialized (bool b)
 modifie la valeur du Booleen de test d'initialisation More...
 
virtual unsigned init ()
 Méthode d'initialisation du Planner.
 
int getRunId ()
 Get the run Id.
 
void setRunId (int id)
 Set the run Id.
 
double getTime ()
 return time in algorithm this function must be called after ChronoTimeOfDayOn() More...
 
void chronoStart ()
 
void chronoStop ()
 
void chronoUpdate ()
 
virtual API::TrajectoryextractTrajectory ()
 

Protected Attributes

unsigned int m_nbAddedNode
 
unsigned int m_nbConscutiveFailures
 
unsigned int m_nbExpansions
 
unsigned int m_nbFailures
 
unsigned int m_nbShoots
 
unsigned int m_nbConnectibleNodes
 
- Protected Attributes inherited from Planner
int(* _stop_func )()
 
void(* _draw_func )()
 
confPtr_t _q_start
 
confPtr_t _q_goal
 
Node_Start
 Le Node initial de la planification.
 
Node_Goal
 Le Node final de la planification.
 
Robot_Robot
 Le Robot pour lequel la recherche va se faire.
 
Graph_Graph
 Le Graph qui va être utilisé
 
bool _Init
 Le Planner a été initialisé
 
bool m_fail
 
int m_runId
 
double m_time
 

Member Function Documentation

bool DirectedPRM::trajFound ( )
virtual

test de trajectoire

Returns
la trajectoire entre les Node Start et Goal existe

Reimplemented from Planner.


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