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>


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

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 ( )

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

◆ transformed

bool rl::plan::Metric::transformed

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