UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
AbstractOptim Class Referenceabstract

#include <optim.hpp>

Inheritance diagram for AbstractOptim:
FoolOptim HJOptim

Classes

struct  SpaceElem
 

Public Types

typedef std::vector< SpaceElemSpace
 

Public Member Functions

 AbstractOptim (const AbstractOptim::Space &space)
 
virtual bool minimize (const AbstractResidual &res, std::vector< double > &x) const =0
 
void setSpace (const Space &space)
 
Spacespace ()
 

Protected Attributes

Space m_space
 

Detailed Description

Interface for abstract optimization with simple restrictions

Member Typedef Documentation

typedef std::vector<SpaceElem> AbstractOptim::Space

Full optimization space

Member Function Documentation

virtual bool AbstractOptim::minimize ( const AbstractResidual res,
std::vector< double > &  x 
) const
pure virtual

Minimization, return true if ok

Implemented in FoolOptim, and HJOptim.

void AbstractOptim::setSpace ( const Space space)
inline

Set new space

Space& AbstractOptim::space ( )
inline

Get reference to space


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