A class for generalized minimization problems. More...
#include <mia/core/minimizer.hh>
Data Structures | |
class | Problem |
Base class for all optimization problems that can be run by CMinimizer. More... | |
Public Types | |
enum | EMinimizerResult { failure, success } |
enum to describe whether optimization succeeded More... | |
typedef CMinimizer | plugin_data |
plug-in searchpath typedef helper More... | |
typedef CMinimizer | plugin_type |
plug-in searchpath typedef helper More... | |
typedef std::shared_ptr< CMinimizer > | Pointer |
Pointer type of this minimizer. More... | |
typedef std::shared_ptr< Problem > | PProblem |
pointer type for the optimization problem More... | |
Public Types inherited from CPropertyFlagHolder | |
typedef std::set< const char * > | Set |
define the type of the set of flags More... | |
Public Member Functions | |
CMinimizer () | |
int | run (CDoubleVector &x) |
void | set_problem (PProblem x) |
virtual | ~CMinimizer () |
Public Member Functions inherited from CProductBase | |
const char * | get_init_string () const |
void | set_init_string (const char *init) |
void | set_module (PPluginModule module) |
Public Member Functions inherited from CPropertyFlagHolder | |
void | add (const char *property) |
Set | get_missing_properties (const CPropertyFlagHolder &testset) const |
bool | has (const char *property) const |
bool | has_all_in (const CPropertyFlagHolder &testset) const |
virtual | ~CPropertyFlagHolder () |
Static Public Attributes | |
static const char *const | data_descr |
plug-in searchpath helper More... | |
static const char *const | type_descr |
plug-in searchpath helper More... | |
Protected Member Functions | |
Problem & | get_problem () |
Problem * | get_problem_pointer () |
size_t | size () const |
A class for generalized minimization problems.
This class defined the interface for a generalized minimizer that may use gradient information. Specific implementations are provided as plug-ins.
Definition at line 42 of file minimizer.hh.
typedef CMinimizer CMinimizer::plugin_data |
plug-in searchpath typedef helper
Definition at line 46 of file minimizer.hh.
typedef CMinimizer CMinimizer::plugin_type |
plug-in searchpath typedef helper
Definition at line 48 of file minimizer.hh.
typedef std::shared_ptr<CMinimizer> CMinimizer::Pointer |
Pointer type of this minimizer.
Definition at line 51 of file minimizer.hh.
typedef std::shared_ptr<Problem> CMinimizer::PProblem |
pointer type for the optimization problem
Definition at line 178 of file minimizer.hh.
enum to describe whether optimization succeeded
Enumerator | |
---|---|
failure | optimization failed |
success | optimization succeeded |
Definition at line 54 of file minimizer.hh.
CMinimizer::CMinimizer | ( | ) |
Construtor of the optimizer.
|
virtual |
|
inlineprotected |
Definition at line 230 of file minimizer.hh.
|
protected |
int CMinimizer::run | ( | CDoubleVector & | x | ) |
Run the optimization
[in,out] | x | at entry contains the start point of the optimization at exit the optimized value |
void CMinimizer::set_problem | ( | PProblem | x | ) |
Set the optimization problem
x | problem to be optimized |
|
protected |
|
static |
plug-in searchpath helper
Definition at line 62 of file minimizer.hh.
|
static |
plug-in searchpath helper
Definition at line 59 of file minimizer.hh.