Class for distance between configurations. More...
#include <hpp/manipulation/weighed-distance.hh>
Public Member Functions | |
virtual core::DistancePtr_t | clone () const |
void | constraintGraph (const graph::GraphPtr_t &graph) |
Set the graph of constraints. More... | |
graph::GraphPtr_t | constraintGraph () const |
Get the graph of constraints. More... | |
![]() | |
value_type | getWeight (size_type rank) const |
void | setWeight (size_type rank, value_type weight) |
const vector_t & | weights () const |
void | weights (const vector_t &ws) |
size_type | size () const |
const DevicePtr_t & | robot () const |
![]() | |
value_type | operator() (ConfigurationIn_t q1, ConfigurationIn_t q2) const |
value_type | operator() (NodePtr_t n1, NodePtr_t n2) const |
value_type | compute (ConfigurationIn_t q1, ConfigurationIn_t q2) const |
value_type | compute (NodePtr_t n1, NodePtr_t n2) const |
virtual | ~Distance () |
Static Public Member Functions | |
static WeighedDistancePtr_t | create (const DevicePtr_t &robot, const graph::GraphPtr_t &graph) |
static WeighedDistancePtr_t | createCopy (const WeighedDistancePtr_t &distance) |
![]() | |
static WeighedDistancePtr_t | createFromProblem (const Problem &problem) |
static WeighedDistancePtr_t | create (const DevicePtr_t &robot) |
static WeighedDistancePtr_t | createWithWeight (const DevicePtr_t &robot, const vector_t &weights) |
static WeighedDistancePtr_t | createCopy (const WeighedDistancePtr_t &distance) |
Protected Member Functions | |
WeighedDistance (const DevicePtr_t &robot, const graph::GraphPtr_t graph) | |
WeighedDistance (const WeighedDistance &distance) | |
virtual value_type | impl_distance (ConfigurationIn_t q1, ConfigurationIn_t q2) const |
Derived class should implement this function. More... | |
virtual value_type | impl_distance (core::NodePtr_t n1, core::NodePtr_t n2) const |
void | init (WeighedDistanceWkPtr_t self) |
![]() | |
WeighedDistance (const Problem &problem) | |
WeighedDistance (const DevicePtr_t &robot) | |
WeighedDistance (const DevicePtr_t &robot, const vector_t &weights) | |
WeighedDistance (const WeighedDistance &distance) | |
void | init (WeighedDistanceWkPtr_t self) |
![]() | |
Distance () | |
Class for distance between configurations.
|
protected |
|
protected |
|
virtual |
Reimplemented from hpp::core::WeighedDistance.
|
inline |
Set the graph of constraints.
|
inline |
Get the graph of constraints.
References init().
|
static |
|
static |
|
protectedvirtual |
Derived class should implement this function.
Reimplemented from hpp::core::WeighedDistance.
|
protectedvirtual |
Reimplemented from hpp::core::Distance.
|
protected |