MaximizeMinClearanceObjective.h
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:48
Objective for attempting to maximize the minimum clearance along a path.
Definition: MaximizeMinClearanceObjective.h:48
Cost infiniteCost() const override
Returns -infinity, since no path clearance value can be considered worse than this.
Definition: MaximizeMinClearanceObjective.cpp:63
bool isCostBetterThan(Cost c1, Cost c2) const override
Since we wish to maximize clearance, and costs are equivalent to path clearance, we return the greate...
Definition: MaximizeMinClearanceObjective.cpp:53
Cost stateCost(const State *s) const override
Defined as the clearance of the state s, which is computed using the StateValidityChecker in this obj...
Definition: MaximizeMinClearanceObjective.cpp:48
Cost identityCost() const override
Returns +infinity, since any cost combined with +infinity under this objective will always return the...
Definition: MaximizeMinClearanceObjective.cpp:58
The cost of a path is defined as the worst state cost over the entire path. This objective attempts t...
Definition: MinimaxObjective.h:50
A shared pointer wrapper for ompl::base::SpaceInformation.
Main namespace. Contains everything in this library.
Definition: ConstrainedSpaceInformation.h:53