Loading...
Searching...
No Matches
ompl::base::Cost Class Reference

Definition of a cost value. Can represent the cost of a motion or the cost of a state. More...

#include <ompl/base/Cost.h>

Public Member Functions

 Cost (double v=0.0)
 Construct cost with a specified value.
 
double value () const
 The value of the cost.
 

Detailed Description

Definition of a cost value. Can represent the cost of a motion or the cost of a state.

Definition at line 47 of file Cost.h.

Constructor & Destructor Documentation

◆ Cost()

ompl::base::Cost::Cost ( double v = 0.0)
inlineexplicit

Construct cost with a specified value.

Definition at line 51 of file Cost.h.

Member Function Documentation

◆ value()

double ompl::base::Cost::value ( ) const
inline

The value of the cost.

Definition at line 56 of file Cost.h.


The documentation for this class was generated from the following file: