DART  6.7.3
dart::optimizer Namespace Reference

Namespaces

 snopt
 

Classes

class  Function
 
class  ModularFunction
 ModularFunction uses C++11 std::function to allow you to easily swap out the cost function, gradient function, and Hessian function during runtime for an optimizer::Function instance. More...
 
class  NullFunction
 NullFunction is a constant-zero Function. More...
 
class  MultiFunction
 class MultiFunction More...
 
class  GenericMultiObjectiveProblem
 
class  GradientDescentSolver
 DefaultSolver is a Solver extension which is native to DART (rather than relying on third-party libraries). More...
 
class  IpoptSolver
 class IpoptSolver More...
 
class  DartTNLP
 class DartTNLP More...
 
class  MultiObjectiveProblem
 
class  MultiObjectiveSolver
 Abstract class that provides a common interface for different multi-objective optimization solvers. More...
 
class  NloptSolver
 class NloptSolver More...
 
class  PagmoMultiObjectiveProblemAdaptor
 Adaptor class for the user defined problem (UDP) that is used by Pagmo2. More...
 
class  PagmoMultiObjectiveSolver
 
class  PagmoTypes
 
class  Population
 
class  Problem
 class Problem More...
 
class  Solver
 Abstract class that provides a common interface for different Solvers. More...
 

Typedefs

typedef std::shared_ptr< FunctionFunctionPtr
 
typedef std::unique_ptr< FunctionUniqueFunctionPtr
 
typedef std::function< double(const Eigen::VectorXd &)> CostFunction
 
typedef std::function< void(const Eigen::VectorXd &, Eigen::Map< Eigen::VectorXd >)> GradientFunction
 
typedef std::function< void(const Eigen::VectorXd &, Eigen::Map< Eigen::VectorXd, Eigen::RowMajor >)> HessianFunction
 

Functions

template<typename T >
static T getVectorObjectIfAvailable (std::size_t idx, const std::vector< T > &vec)
 
static Eigen::VectorXd computeFunctions (const std::vector< FunctionPtr > &functions, std::size_t dimension, const Eigen::VectorXd &x)
 
template<typename T >
static T getVectorObjectIfAvailable (std::size_t idx, const std::vector< T > &vec)
 
static std::vector< double > convertToStd (const Eigen::VectorXd &v)
 
static Eigen::VectorXd convertToEigen (const std::vector< double > &_v)
 
static pagmo::algorithm createNloptCobyla (const PagmoMultiObjectiveSolver::Properties &properties)
 
static pagmo::algorithm createMoead (const PagmoMultiObjectiveSolver::Properties &properties)
 
static pagmo::algorithm createNsga2 (const PagmoMultiObjectiveSolver::Properties &properties)
 
static pagmo::algorithm createPagmoAlgorithm (const PagmoMultiObjectiveSolver::Properties &properties)
 
template<typename T >
static T getVectorObjectIfAvailable (std::size_t _idx, const std::vector< T > &_vec)
 

Typedef Documentation

◆ CostFunction

typedef std::function<double(const Eigen::VectorXd&)> dart::optimizer::CostFunction

◆ FunctionPtr

typedef std::shared_ptr<Function> dart::optimizer::FunctionPtr

◆ GradientFunction

typedef std::function<void(const Eigen::VectorXd&, Eigen::Map<Eigen::VectorXd>)> dart::optimizer::GradientFunction

◆ HessianFunction

typedef std::function<void( const Eigen::VectorXd&, Eigen::Map<Eigen::VectorXd, Eigen::RowMajor>)> dart::optimizer::HessianFunction

◆ UniqueFunctionPtr

typedef std::unique_ptr<Function> dart::optimizer::UniqueFunctionPtr

Function Documentation

◆ computeFunctions()

static Eigen::VectorXd dart::optimizer::computeFunctions ( const std::vector< FunctionPtr > &  functions,
std::size_t  dimension,
const Eigen::VectorXd &  x 
)
static

◆ convertToEigen()

static Eigen::VectorXd dart::optimizer::convertToEigen ( const std::vector< double > &  _v)
static

◆ convertToStd()

static std::vector<double> dart::optimizer::convertToStd ( const Eigen::VectorXd &  v)
static

◆ createMoead()

static pagmo::algorithm dart::optimizer::createMoead ( const PagmoMultiObjectiveSolver::Properties properties)
static

◆ createNloptCobyla()

static pagmo::algorithm dart::optimizer::createNloptCobyla ( const PagmoMultiObjectiveSolver::Properties properties)
static

◆ createNsga2()

static pagmo::algorithm dart::optimizer::createNsga2 ( const PagmoMultiObjectiveSolver::Properties properties)
static

◆ createPagmoAlgorithm()

static pagmo::algorithm dart::optimizer::createPagmoAlgorithm ( const PagmoMultiObjectiveSolver::Properties properties)
static

◆ getVectorObjectIfAvailable() [1/3]

template<typename T >
static T dart::optimizer::getVectorObjectIfAvailable ( std::size_t  _idx,
const std::vector< T > &  _vec 
)
static

◆ getVectorObjectIfAvailable() [2/3]

template<typename T >
static T dart::optimizer::getVectorObjectIfAvailable ( std::size_t  idx,
const std::vector< T > &  vec 
)
static

◆ getVectorObjectIfAvailable() [3/3]

template<typename T >
static T dart::optimizer::getVectorObjectIfAvailable ( std::size_t  idx,
const std::vector< T > &  vec 
)
static