StateCostIntegralObjective.cpp
39 ompl::base::StateCostIntegralObjective::StateCostIntegralObjective(const SpaceInformationPtr &si,
51 ompl::base::Cost ompl::base::StateCostIntegralObjective::motionCost(const State *s1, const State *s2) const
StateCostIntegralObjective(const SpaceInformationPtr &si, bool enableMotionCostInterpolation=false)
If enableMotionCostInterpolation is set to true, then calls to motionCost() will divide the motion se...
Definition: StateCostIntegralObjective.cpp:39
A shared pointer wrapper for ompl::base::SpaceInformation.
Cost motionCost(const State *s1, const State *s2) const override
Compute the cost of a path segment from s1 to s2 (including endpoints)
Definition: StateCostIntegralObjective.cpp:51
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:111
Abstract definition of optimization objectives.
Definition: OptimizationObjective.h:138
Cost stateCost(const State *s) const override
Returns a cost with a value of 1.
Definition: StateCostIntegralObjective.cpp:46
std::string description_
The description of this optimization objective.
Definition: OptimizationObjective.h:259
bool isMotionCostInterpolationEnabled() const
Returns whether this objective subdivides motions into smaller segments for more accurate motion cost...
Definition: StateCostIntegralObjective.cpp:88