Sampling_Minimizer Class Reference

Computing sample point by minimizing a given function, starting from the point from a sample set with the lowest sample function value. More...

#include <sampling.h>

Collaboration diagram for Sampling_Minimizer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Sampling_Minimizer (Pointer< Param > param_=NULL, char *param_prefix=NULL)
 (Default-)Constructor.
bool add_minimizer (vector< vector< dvector > > &sample_set, Pointer< SepQcFunc > f, const UserVector< double > &lower, const UserVector< double > &upper)
 Uses the best sample point to start the search of a minimizer of a function to add this to the sample set.
bool add_minimizer (vector< dvector > &sample_set, Pointer< Func > f, const UserVector< double > &lower, const UserVector< double > &upper, dvector &start)

Private Attributes

bool minimizer
Pointer< Paramparam

Detailed Description

Computing sample point by minimizing a given function, starting from the point from a sample set with the lowest sample function value.

Parameters:
sample set minimizer options 0 or 1 default 0 level 1 If 1, tries to find a minimizer of the function and adds this one to the sample set.
Sampling Minimizer snopt nospecs options 0 or 1 default 0
Sampling Minimizer snopt specs options filename default resource/superbasic.snopt

Definition at line 260 of file sampling.h.


Constructor & Destructor Documentation

Sampling_Minimizer::Sampling_Minimizer ( Pointer< Param param_ = NULL,
char *  param_prefix = NULL 
)

(Default-)Constructor.

Parameters:
param Parameters.
param_prefix A prefix for the parameter names.

Member Function Documentation

bool Sampling_Minimizer::add_minimizer ( vector< vector< dvector > > &  sample_set,
Pointer< SepQcFunc f,
const UserVector< double > &  lower,
const UserVector< double > &  upper 
)

Uses the best sample point to start the search of a minimizer of a function to add this to the sample set.

Parameters:
sample_set A sample set to pick a starting point from.
f The function to minimize.
lower Lower bounds of variables.
upper Upper bounds of variables.
Returns:
True, if a minimizer was found and added. False, else.
bool Sampling_Minimizer::add_minimizer ( vector< dvector > &  sample_set,
Pointer< Func f,
const UserVector< double > &  lower,
const UserVector< double > &  upper,
dvector start 
)

Member Data Documentation

Definition at line 262 of file sampling.h.

Definition at line 263 of file sampling.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1