Jafar
|
The class P3dPlanSolution represents a classic solution of the planner. More...
The class P3dPlanSolution represents a classic solution of the planner.
It is used too to store some information between different call of p3d::Plan.
#include <P3d.hpp>
Public Member Functions | |
P3DPlanSolution () | |
Basic constructor. | |
P3DPlanSolution (int depth, int nNodes) | |
Another constructor. | |
~P3DPlanSolution () | |
A destructor. | |
double | curv () const |
double | d () const |
double | cost () const |
int | depth () const |
double | v () const |
void | set_v (double v) |
void | set_w (double w) |
void | set_time (double time) |
double | alpha () const |
double | time () const |
void | display_arc_cost () const |
print the cost of differents arcs of the choosen move | |
::P3DPlanSolution * | get_data () |
return the internal solution data. | |
void | set_data (int depth, int nNodes) |
set_data change the parameters of the solution. | |
std::string | gdhe_display (jafar::geom::T3DEuler &m2o) const |
gdhe_display returns a Gdhe Representation of the path elected by p3d | |
Private Member Functions | |
void | clear_data () |
Private Attributes | |
::P3DPlanSolution * | _pdata |
internal calife representation |
jafar::p3d::P3DPlanSolution::P3DPlanSolution | ( | int | depth, |
int | nNodes | ||
) |
Another constructor.
depth | represents the max depth solution we wait for |
nNodes | represents the max number of nodes we wait for |
double jafar::p3d::P3DPlanSolution::alpha | ( | ) | const |
double jafar::p3d::P3DPlanSolution::cost | ( | ) | const |
double jafar::p3d::P3DPlanSolution::curv | ( | ) | const |
double jafar::p3d::P3DPlanSolution::d | ( | ) | const |
void jafar::p3d::P3DPlanSolution::display_arc_cost | ( | ) | const |
print the cost of differents arcs of the choosen move
std::string jafar::p3d::P3DPlanSolution::gdhe_display | ( | jafar::geom::T3DEuler & | m2o | ) | const |
gdhe_display returns a Gdhe Representation of the path elected by p3d
m2o | is the transformation between origin frame and robot frame (at the time where we call P3d::plan) |
return the internal solution data.
useful to call some calife function.
void jafar::p3d::P3DPlanSolution::set_data | ( | int | depth, |
int | nNodes | ||
) |
set_data change the parameters of the solution.
depth | represents the max depth solution we wait for |
nNodes | represents the max number of nodes we wait for |
double jafar::p3d::P3DPlanSolution::time | ( | ) | const |
Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1 |