roboptim::trajectory::TrajectoryCost< T > Class Template Reference

Meta-function for trajectory cost. More...

#include <roboptim/trajectory/trajectory-cost.hh>

Inheritance diagram for roboptim::trajectory::TrajectoryCost< T >:
DerivableFunction

List of all members.

Public Types

typedef T trajectory_t
 Trajectory type.

Public Member Functions

 TrajectoryCost (const trajectory_t &traj, std::string name=std::string())
 Concret class should call this constructor.
virtual ~TrajectoryCost ()

Protected Attributes

const trajectory_ttrajectory_
 Input trajectory.

Detailed Description

template<typename T>
class roboptim::trajectory::TrajectoryCost< T >

Meta-function for trajectory cost.

This is a \(\mathbb{R}^n \rightarrow \mathbb{R}\) meta-function for costs on trajectories.

It takes a trajectory as its input.

Template Parameters:
Ttrajectory type

Member Typedef Documentation

template<typename T>
typedef T roboptim::trajectory::TrajectoryCost< T >::trajectory_t

Trajectory type.


Constructor & Destructor Documentation

template<typename T >
roboptim::trajectory::TrajectoryCost< T >::TrajectoryCost ( const trajectory_t traj,
std::string  name = std::string () 
)

Concret class should call this constructor.

Parameters:
trajtrajectory on which the cost is computed
namefunction's name
template<typename T >
roboptim::trajectory::TrajectoryCost< T >::~TrajectoryCost ( ) [virtual]

Member Data Documentation

template<typename T>
const trajectory_t& roboptim::trajectory::TrajectoryCost< T >::trajectory_ [protected]

Input trajectory.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines