PathLengthOptimizationObjective.cpp
41 ompl::base::PathLengthOptimizationObjective::PathLengthOptimizationObjective(const SpaceInformationPtr &si)
55 ompl::base::Cost ompl::base::PathLengthOptimizationObjective::motionCost(const State *s1, const State *s2) const
60 ompl::base::Cost ompl::base::PathLengthOptimizationObjective::motionCostHeuristic(const State *s1,
66 ompl::base::InformedSamplerPtr ompl::base::PathLengthOptimizationObjective::allocInformedStateSampler(
A shared pointer wrapper for ompl::base::SpaceInformation.
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:143
Cost stateCost(const State *s) const override
Returns identity cost.
Definition: PathLengthOptimizationObjective.cpp:50
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:111
Cost motionCostHeuristic(const State *s1, const State *s2) const override
the motion cost heuristic for this objective is simply the configuration space distance between s1 an...
Definition: PathLengthOptimizationObjective.cpp:60
A shared pointer wrapper for ompl::base::ProblemDefinition.
std::string description_
The description of this optimization objective.
Definition: OptimizationObjective.h:259
Cost motionCost(const State *s1, const State *s2) const override
Motion cost for this objective is defined as the configuration space distance between s1 and s2,...
Definition: PathLengthOptimizationObjective.cpp:55
InformedSamplerPtr allocInformedStateSampler(const ProblemDefinitionPtr &probDefn, unsigned int maxNumberCalls) const override
Allocate a state sampler for the path-length objective (i.e., direct ellipsoidal sampling).
Definition: PathLengthOptimizationObjective.cpp:66
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65
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:185