Public Member Functions

PsiOptimizer Class Reference

Simplex optimization. More...

#include <optimizer.h>

List of all members.

Public Member Functions

 PsiOptimizer (const PsiPsychometric *model, const PsiData *data)
 set up everything
 ~PsiOptimizer (void)
 clean up everything
std::vector< double > optimize (const PsiPsychometric *model, const PsiData *data, const std::vector< double > *startingvalue=NULL)
 Start the optimization process.

Detailed Description

Simplex optimization.


Constructor & Destructor Documentation

PsiOptimizer::PsiOptimizer ( const PsiPsychometric model,
const PsiData data 
)

set up everything

Parameters:
model model to be fitted (this is needed at this point only to determine the amount of internal memory that is required)
data data to be fitted (this is needed at this point only to determine the amount of internal memory that is required)

Member Function Documentation

std::vector< double > PsiOptimizer::optimize ( const PsiPsychometric model,
const PsiData data,
const std::vector< double > *  startingvalue = NULL 
)

Start the optimization process.

Parameters:
model model to be fitted
data data to be fitted
startingvalue starting value for optimization --- if this is longer the the number of parameters in the model, the additional values are used to span the simplex

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