SOT
Public Member Functions | List of all members
sot::Problem Class Referenceabstract

Abstract class for a SOT optimization problem. More...

#include <problem.h>

Inheritance diagram for sot::Problem:
sot::GAWrapper sot::TestProblem sot::Ackley sot::CosineMixture sot::Exponential sot::Griewank sot::Himmelblau sot::Keane sot::Levy sot::Michalewicz sot::Rastrigin sot::Rosenbrock sot::RotatedProblem< OptProb > sot::Salomon sot::Schaffer2 sot::Schoen sot::Schubert3 sot::Schwefel22 sot::Schwefel26 sot::SineEnvelope sot::Sphere sot::Step sot::SumSquares sot::Tablet sot::UnitBoxProblem< OptProb > sot::Zakharov

Public Member Functions

virtual vec lBounds () const =0
 Method for getting the lower variable bounds. More...
 
virtual vec uBounds () const =0
 Method for getting the upper variable bounds. More...
 
virtual int dim () const =0
 Method for getting the number of dimensions. More...
 
virtual double min () const =0
 Method for getting global minimum value. More...
 
virtual vec optimum () const =0
 Method for getting the global minimizer. More...
 
virtual std::string name () const =0
 Method for getting the name of the optimization problem. More...
 
virtual double eval (const vec &point) const =0
 Method for evaluating the objective function. More...
 
virtual vec evals (const mat &points) const =0
 Method for evaluating the objective function at multiple points. More...
 

Detailed Description

Abstract class for a SOT optimization problem.

This is the abstract class that should be used as a Base class for all optimization problems in SOT.

Author
David Eriksson, dme65.nosp@m.@cor.nosp@m.nell..nosp@m.edu

Member Function Documentation

virtual int sot::Problem::dim ( ) const
pure virtual
virtual double sot::Problem::eval ( const vec point) const
pure virtual

Method for evaluating the objective function.

Parameters
pointIs the next point for which to evaluate the objective function
Returns
The value of the objective function at the input

Implemented in sot::UnitBoxProblem< OptProb >, sot::RotatedProblem< OptProb >, sot::CosineMixture, sot::Schoen, sot::SineEnvelope, sot::Schubert3, sot::Salomon, sot::Levy, sot::Keane, sot::Michalewicz, sot::Rastrigin, sot::Ackley, sot::Himmelblau, sot::Schwefel26, sot::Schaffer2, sot::Griewank, sot::Rosenbrock, sot::Zakharov, sot::GAWrapper, sot::Step, sot::Tablet, sot::Exponential, sot::Schwefel22, sot::SumSquares, and sot::Sphere.

virtual vec sot::Problem::evals ( const mat points) const
pure virtual

Method for evaluating the objective function at multiple points.

Parameters
pointsThe next points for which to evaluate the objective function
Returns
The values of the objective function at the input

Implemented in sot::GAWrapper, and sot::TestProblem.

virtual vec sot::Problem::lBounds ( ) const
pure virtual
virtual double sot::Problem::min ( ) const
pure virtual
virtual std::string sot::Problem::name ( ) const
pure virtual
virtual vec sot::Problem::optimum ( ) const
pure virtual
virtual vec sot::Problem::uBounds ( ) const
pure virtual

The documentation for this class was generated from the following file: