All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PathLengthOptimizationObjective.cpp
61 ompl::base::Cost ompl::base::PathLengthOptimizationObjective::motionCost(const State *s1, const State *s2) const
66 ompl::base::Cost ompl::base::PathLengthOptimizationObjective::motionCostHeuristic(const State *s1, const State *s2) const
71 ompl::base::InformedSamplerPtr ompl::base::PathLengthOptimizationObjective::allocInformedStateSampler(const ProblemDefinitionPtr probDefn, unsigned int maxNumberCalls) const
73 // Make the direct path-length informed sampler and return. If OMPL was compiled with Eigen, a direct version is available, if not a rejection-based technique can be used
77 throw Exception("Direct sampling of the path-length objective requires Eigen, but this version of OMPL was compiled without Eigen support. If possible, please install Eigen and recompile OMPL. If this is not possible, you can manually create an instantiation of RejectionInfSampler to approximate the behaviour of direct informed sampling.");
std::string description_
The description of this optimization objective.
Definition: OptimizationObjective.h:159
A shared pointer wrapper for ompl::base::ProblemDefinition.
Cost goalRegionCostToGo(const State *state, const Goal *goal)
For use when the cost-to-go of a state under the optimization objective is equivalent to the goal reg...
Definition: OptimizationObjective.cpp:179
void setCostToGoHeuristic(const CostToGoHeuristic &costToGo)
Set the cost-to-go heuristic function for this objective. The cost-to-go heuristic is a function whic...
Definition: OptimizationObjective.cpp:139
virtual Cost stateCost(const State *s) const
Returns identity cost.
Definition: PathLengthOptimizationObjective.cpp:56
virtual Cost motionCost(const State *s1, const State *s2) const
Motion cost for this objective is defined as the configuration space distance between s1 and s2...
Definition: PathLengthOptimizationObjective.cpp:61
virtual InformedSamplerPtr allocInformedStateSampler(const ProblemDefinitionPtr probDefn, unsigned int maxNumberCalls) const
Allocate a state sampler for the path-length objective (i.e., direct ellipsoidal sampling).
Definition: PathLengthOptimizationObjective.cpp:71
virtual Cost motionCostHeuristic(const State *s1, const State *s2) const
the motion cost heuristic for this objective is simply the configuration space distance between s1 an...
Definition: PathLengthOptimizationObjective.cpp:66
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:47