#include <roboptim/core/problem.hh>
Public Types | |
| typedef boost::mpl::vector | constraintsList_t |
| typedef F | function_t |
| Function type. | |
| typedef function_t::value_type | value_type |
| typedef function_t::vector_t | vector_t |
| Vector type. | |
| typedef function_t::argument_t | argument_t |
| Argument type. | |
| typedef function_t::size_type | size_type |
| Size type. | |
| typedef boost::optional < argument_t > | startingPoint_t |
| Optional vector defines a starting point. | |
| typedef function_t::interval_t | interval_t |
| typedef function_t::intervals_t | intervals_t |
| typedef std::vector< value_type > | scales_t |
| Scale vector. | |
| typedef function_t::names_t | names_t |
| Vector of names (e.g. for arguments). | |
Public Member Functions | |
| std::ostream & | print (std::ostream &o) const |
| Display the problem on the specified output stream. | |
Constructors and destructors. | |
| Problem (const function_t &) | |
| Problem (const Problem< F, boost::mpl::vector<> > &) | |
| Copy constructor. | |
| template<typename F_ > | |
| Problem (const Problem< F_, boost::mpl::vector<> > &) | |
| Copy constructor (convert from another class of problem). | |
| ~Problem () | |
Cost function. | |
| const function_t & | function () const |
| Retrieve cost function. | |
| intervals_t & | argumentBounds () |
| Retrieve arguments bounds. | |
| const intervals_t & | argumentBounds () const |
| Retrieve arguments bounds. | |
| scales_t & | argumentScales () |
| Retrieve arguments scales. | |
| const scales_t & | argumentScales () const |
| Retrieve arguments scales. | |
| names_t & | argumentNames () |
| Retrieve arguments names. | |
| const names_t & | argumentNames () const |
| Retrieve arguments names. | |
Starting point (initial guess). | |
| startingPoint_t & | startingPoint () |
| Set the initial guess. | |
| const startingPoint_t & | startingPoint () const |
| Get the initial guess. | |
Friends | |
| class | Problem |