Robotics Library  0.7.0
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
rl::plan::Metric Class Reference

#include <Metric.h>

Classes

struct  Value
 

Public Types

typedef ::rl::math::Real Distance
 
typedef ::std::size_t Size
 

Public Member Functions

 Metric (Model *model, const bool &transformed)
 
virtual ~Metric ()
 
Distance operator() (const Value &lhs, const Value &rhs) const
 
Distance operator() (const Distance &lhs, const Distance &rhs, const ::std::size_t &index) const
 

Private Attributes

Modelmodel
 
bool transformed
 

Member Typedef Documentation

◆ Distance

◆ Size

typedef ::std::size_t rl::plan::Metric::Size

Constructor & Destructor Documentation

◆ Metric()

rl::plan::Metric::Metric ( Model model,
const bool &  transformed 
)

◆ ~Metric()

rl::plan::Metric::~Metric ( )
virtual

Member Function Documentation

◆ operator()() [1/2]

Metric::Distance rl::plan::Metric::operator() ( const Distance lhs,
const Distance rhs,
const ::std::size_t &  index 
) const

◆ operator()() [2/2]

Metric::Distance rl::plan::Metric::operator() ( const Value lhs,
const Value rhs 
) const

Member Data Documentation

◆ model

Model* rl::plan::Metric::model
private

◆ transformed

bool rl::plan::Metric::transformed
private

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