DART
6.7.3
|
#include <PagmoMultiObjectiveSolver.hpp>
Classes | |
struct | Properties |
struct | UniqueProperties |
Public Types | |
enum class | Algorithm { Local_nlopt_COBYLA , Global_MOEAD , Global_NSGA2 } |
Reference: https://esa.github.io/pagmo2/docs/algorithm_list.html. More... | |
Public Member Functions | |
PagmoMultiObjectiveSolver (const Properties &properties=Properties()) | |
Default Constructor. More... | |
PagmoMultiObjectiveSolver (std::shared_ptr< MultiObjectiveProblem > problem) | |
Alternative Constructor. More... | |
~PagmoMultiObjectiveSolver () override | |
Destructor. More... | |
bool | solve (std::size_t numEvolutions=1u) override |
Solve optimization problem. More... | |
std::string | getType () const override |
Returns the type (implementation) of this Solver. More... | |
std::shared_ptr< MultiObjectiveSolver > | clone () const override |
Creates an identical clone of this Solver. More... | |
void | setProperties (const Properties &properties) |
Sets the Properties of this PagmoMultiObjectiveSolver. More... | |
void | setProperties (const UniqueProperties &properties) |
Sets the Properties of this PagmoMultiObjectiveSolver. More... | |
Properties | getGradientDescentProperties () const |
Returns the Properties of this GradientDescentSolver. More... | |
void | copy (const PagmoMultiObjectiveSolver &other) |
Copies the Properties of another PagmoMultiObjectiveSolver. More... | |
PagmoMultiObjectiveSolver & | operator= (const PagmoMultiObjectiveSolver &other) |
Copies the Properties of another PagmoMultiObjectiveSolver. More... | |
void | setAlgorithm (Algorithm alg) |
Sets the algorithm that is to be used by the solver. More... | |
Algorithm | getAlgorithm () const |
Returns the algorithm that is to be used by the pagmo solver. More... | |
void | setProperties (const Properties &properties) |
Set the generic Properties of this Solver. More... | |
const Properties & | getSolverProperties () const |
Get the generic Properties of this Solver. More... | |
virtual void | setProblem (std::shared_ptr< MultiObjectiveProblem > problem) |
std::shared_ptr< MultiObjectiveProblem > | getProblem () const |
Get nonlinear optimization problem. More... | |
void | setNumIterationsPerEvolution (std::size_t maxIterations) |
Sets the number of iterations per evolution. More... | |
std::size_t | getNumIterationsPerEvolution () const |
Returns the number of iterations per evolution. More... | |
Population | |
void | setPopulationSize (std::size_t size) |
Sets the number of decision vectors in one population. More... | |
std::size_t | getPopulationSize () const |
Return sthe number of decision vectors in one population. More... | |
void | setNumPopulations (std::size_t size) |
Sets the number of populations. More... | |
std::size_t | getNumPopulations () const |
Returns the number of populations. More... | |
const Population & | getPopulation (std::size_t index) const |
Returns a population at index . More... | |
const std::vector< Population > & | getPopulations () const |
Returns all the populations. More... | |
Protected Attributes | |
UniqueProperties | mPagmoMultiObjectiveSolverP |
PagmoMultiObjectiveSolver properties. More... | |
std::uniform_real_distribution< double > | mDistribution |
Distribution. More... | |
Properties | mProperties |
Properties. More... | |
std::vector< Population > | mPopulations |
Populations. More... | |
Reference: https://esa.github.io/pagmo2/docs/algorithm_list.html.
Enumerator | |
---|---|
Local_nlopt_COBYLA | |
Global_MOEAD | |
Global_NSGA2 |
|
explicit |
Default Constructor.
|
explicit |
Alternative Constructor.
|
override |
Destructor.
|
overridevirtual |
Creates an identical clone of this Solver.
Implements dart::optimizer::MultiObjectiveSolver.
void dart::optimizer::PagmoMultiObjectiveSolver::copy | ( | const PagmoMultiObjectiveSolver & | other | ) |
Copies the Properties of another PagmoMultiObjectiveSolver.
PagmoMultiObjectiveSolver::Algorithm dart::optimizer::PagmoMultiObjectiveSolver::getAlgorithm | ( | ) | const |
Returns the algorithm that is to be used by the pagmo solver.
PagmoMultiObjectiveSolver::Properties dart::optimizer::PagmoMultiObjectiveSolver::getGradientDescentProperties | ( | ) | const |
Returns the Properties of this GradientDescentSolver.
|
inherited |
Returns the number of iterations per evolution.
|
inherited |
Returns the number of populations.
|
inherited |
Returns a population at index
.
|
inherited |
Returns all the populations.
|
inherited |
Return sthe number of decision vectors in one population.
|
inherited |
Get nonlinear optimization problem.
|
inherited |
Get the generic Properties of this Solver.
|
overridevirtual |
Returns the type (implementation) of this Solver.
Implements dart::optimizer::MultiObjectiveSolver.
PagmoMultiObjectiveSolver & dart::optimizer::PagmoMultiObjectiveSolver::operator= | ( | const PagmoMultiObjectiveSolver & | other | ) |
Copies the Properties of another PagmoMultiObjectiveSolver.
void dart::optimizer::PagmoMultiObjectiveSolver::setAlgorithm | ( | Algorithm | alg | ) |
Sets the algorithm that is to be used by the solver.
|
inherited |
Sets the number of iterations per evolution.
|
inherited |
Sets the number of populations.
|
inherited |
Sets the number of decision vectors in one population.
|
virtualinherited |
|
inherited |
Set the generic Properties of this Solver.
void dart::optimizer::PagmoMultiObjectiveSolver::setProperties | ( | const Properties & | properties | ) |
Sets the Properties of this PagmoMultiObjectiveSolver.
void dart::optimizer::PagmoMultiObjectiveSolver::setProperties | ( | const UniqueProperties & | properties | ) |
Sets the Properties of this PagmoMultiObjectiveSolver.
|
overridevirtual |
Solve optimization problem.
Implements dart::optimizer::MultiObjectiveSolver.
|
protected |
Distribution.
|
protected |
PagmoMultiObjectiveSolver properties.
|
protectedinherited |
Populations.
|
protectedinherited |