MEPP2 Project
Public Member Functions | Protected Member Functions | List of all members
WeibulPsychometricFunction Class Reference

#include <psychometricfunction.h>

Inheritance diagram for WeibulPsychometricFunction:
Inheritance graph
Collaboration diagram for WeibulPsychometricFunction:
Collaboration graph

Public Member Functions

 WeibulPsychometricFunction ()
 
 WeibulPsychometricFunction (const ParameterType &param)
 
virtual ~WeibulPsychometricFunction ()
 
virtual void compute (const InputType &in, OutputType &out) const
 
- Public Member Functions inherited from GenericParametricModel< double, double, double >
 GenericParametricModel ()
 
 GenericParametricModel (const ParameterType &param)
 
virtual ~GenericParametricModel ()
 
void setParameters (const ParameterType &param)
 
const ParameterTypeparam () const
 
ParameterTypeparam ()
 
OutputType compute (const InputType &in) const
 
void compute (const std::vector< InputType > &in, std::vector< OutputType > &out) const
 
OutputType operator() (const InputType &in) const
 
void operator() (const InputType &in, OutputType &out) const
 

Protected Member Functions

virtual void default_params ()
 initialise beta to 3.5 More...
 

Additional Inherited Members

- Public Types inherited from GenericParametricModel< double, double, double >
typedef double ParameterType
 
typedef double InputType
 
typedef double OutputType
 
- Protected Attributes inherited from GenericParametricModel< double, double, double >
ParameterType m_param
 

Detailed Description

implements a weibul psychometric function

  1. - exp( -pow(x, beta) )

The model needs 1 parameter (beta), takes 1 input and outputs a value between 0 and 1

Definition at line 26 of file psychometricfunction.h.

Constructor & Destructor Documentation

◆ WeibulPsychometricFunction() [1/2]

WeibulPsychometricFunction::WeibulPsychometricFunction ( )
inline

Definition at line 33 of file psychometricfunction.h.

Here is the call graph for this function:

◆ WeibulPsychometricFunction() [2/2]

WeibulPsychometricFunction::WeibulPsychometricFunction ( const ParameterType param)
inline

Definition at line 39 of file psychometricfunction.h.

◆ ~WeibulPsychometricFunction()

virtual WeibulPsychometricFunction::~WeibulPsychometricFunction ( )
inlinevirtual

Definition at line 44 of file psychometricfunction.h.

Member Function Documentation

◆ compute()

virtual void WeibulPsychometricFunction::compute ( const InputType in,
OutputType out 
) const
inlinevirtual

◆ default_params()

virtual void WeibulPsychometricFunction::default_params ( )
inlineprotectedvirtual

initialise beta to 3.5

Implements GenericParametricModel< double, double, double >.

Definition at line 58 of file psychometricfunction.h.

Here is the caller graph for this function:

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