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