base class for abstract multi-objective optimizers for arbitrary search spaces. More...
#include <shark/Algorithms/AbstractMultiObjectiveOptimizer.h>
Inheritance diagram for shark::AbstractMultiObjectiveOptimizer< PointTypeT >:Public Types | |
| typedef super::SearchPointType | SearchPointType |
| typedef super::SolutionType | SolutionType |
| typedef super::ObjectiveFunctionType | ObjectiveFunctionType |
Public Types inherited from shark::AbstractOptimizer< PointTypeT, RealVector, std::vector< ResultSet< PointTypeT, RealVector > > > | |
| enum | Feature |
| Models features that the optimizer requires from the objective function. More... | |
| typedef PointTypeT | SearchPointType |
| typedef RealVector | ResultType |
| typedef std::vector< ResultSet< PointTypeT, RealVector > > | SolutionType |
| typedef AbstractObjectiveFunction< PointTypeT, ResultType > | ObjectiveFunctionType |
| typedef TypedFlags< Feature > | Features |
| typedef TypedFeatureNotAvailableException< Feature > | FeatureNotAvailableException |
Public Member Functions | |
| SolutionType const & | solution () const |
| Accesses the current approximation of the Pareto-set and -front, respectively. | |
Public Member Functions inherited from shark::AbstractOptimizer< PointTypeT, RealVector, std::vector< ResultSet< PointTypeT, RealVector > > > | |
| const Features & | features () const |
| virtual void | updateFeatures () |
| bool | requiresValue () const |
| bool | requiresFirstDerivative () const |
| bool | requiresSecondDerivative () const |
| bool | canSolveConstrained () const |
| bool | requiresClosestFeasible () const |
| virtual | ~AbstractOptimizer () |
| virtual std::size_t | numInitPoints () const=0 |
| Returns the number of points this method requires for initialisation. | |
| virtual void | init (ObjectiveFunctionType const &function) |
| Initialize the optimizer for the supplied objective function. | |
| virtual void | init (ObjectiveFunctionType const &function, std::vector< SearchPointType > const &initPoints)=0 |
| Initialize the optimizer for the supplied objective function using a set of initialisation points. | |
| virtual void | step (ObjectiveFunctionType const &function)=0 |
| Carry out one step of the optimizer for the supplied objective function. | |
Public Member Functions inherited from shark::INameable | |
| virtual | ~INameable () |
| virtual std::string | name () const |
| returns the name of the object | |
Public Member Functions inherited from shark::ISerializable | |
| virtual | ~ISerializable () |
| Virtual d'tor. | |
| virtual void | read (InArchive &archive) |
| Read the component from the supplied archive. | |
| virtual void | write (OutArchive &archive) const |
| Write the component to the supplied archive. | |
| void | load (InArchive &archive, unsigned int version) |
| Versioned loading of components, calls read(...). | |
| void | save (OutArchive &archive, unsigned int version) const |
| Versioned storing of components, calls write(...). | |
| BOOST_SERIALIZATION_SPLIT_MEMBER () | |
Protected Attributes | |
| SolutionType | m_best |
| The current Pareto-set/-front. | |
Protected Attributes inherited from shark::AbstractOptimizer< PointTypeT, RealVector, std::vector< ResultSet< PointTypeT, RealVector > > > | |
| Features | m_features |
Additional Inherited Members | |
Protected Member Functions inherited from shark::AbstractOptimizer< PointTypeT, RealVector, std::vector< ResultSet< PointTypeT, RealVector > > > | |
| void | checkFeatures (ObjectiveFunctionType const &objectiveFunction) |
| Convenience function that checks whether the features of the supplied objective function match with the required features of the optimizer. | |
base class for abstract multi-objective optimizers for arbitrary search spaces.
Models an abstract multi-objective optimizer for arbitrary search spaces. The objective space is assumed to be \( \mathbb{R}^m\).
| PointType | The type of the points that make up the searchspace. |
Definition at line 53 of file AbstractMultiObjectiveOptimizer.h.
| typedef super::ObjectiveFunctionType shark::AbstractMultiObjectiveOptimizer< PointTypeT >::ObjectiveFunctionType |
Definition at line 68 of file AbstractMultiObjectiveOptimizer.h.
| typedef super::SearchPointType shark::AbstractMultiObjectiveOptimizer< PointTypeT >::SearchPointType |
Definition at line 66 of file AbstractMultiObjectiveOptimizer.h.
| typedef super::SolutionType shark::AbstractMultiObjectiveOptimizer< PointTypeT >::SolutionType |
Definition at line 67 of file AbstractMultiObjectiveOptimizer.h.
|
inlinevirtual |
Accesses the current approximation of the Pareto-set and -front, respectively.
Implements shark::AbstractOptimizer< PointTypeT, RealVector, std::vector< ResultSet< PointTypeT, RealVector > > >.
Definition at line 72 of file AbstractMultiObjectiveOptimizer.h.
References shark::AbstractMultiObjectiveOptimizer< PointTypeT >::m_best.
Referenced by main().
|
protected |
The current Pareto-set/-front.
Definition at line 77 of file AbstractMultiObjectiveOptimizer.h.
Referenced by shark::AbstractMultiObjectiveOptimizer< PointTypeT >::solution().