LogLikeFunction Class Reference

LogLike Function !! More...

Inheritance diagram for LogLikeFunction:

List of all members.

Public Member Functions

 LogLikeFunction (double A=1.0, double B=5.0)
 Construct a LogLike with deltas specified.
virtual ~LogLikeFunction ()
 Destructor.
virtual void apply (DoubleVector &inputs, DoubleVector &outputs)
 Implement the updating method.
virtual void configure (ConfigurationParameters &params, QString prefix)
 Configures the object using a ConfigurationParameters object.
virtual void save (ConfigurationParameters &params, QString prefix)
 Save the actual status of parameters into the ConfigurationParameters object passed.

Public Attributes

double A
 A coefficient.
double B
 B coefficient.

Detailed Description

LogLike Function !!

It compute the following equation:

\[ y = \frac{x}{ 1+Ax+B } \]

Definition at line 455 of file liboutputfunctions.h.


Constructor & Destructor Documentation

LogLikeFunction ( double  A = 1.0,
double  B = 5.0 
)

Construct a LogLike with deltas specified.

Definition at line 573 of file liboutputfunctions.cpp.

References LogLikeFunction::A, and LogLikeFunction::B.

virtual ~LogLikeFunction ( ) [inline, virtual]

Destructor.

Definition at line 460 of file liboutputfunctions.h.


Member Function Documentation

void apply ( DoubleVector inputs,
DoubleVector outputs 
) [virtual]

Implement the updating method.

Implements OutputFunction.

Definition at line 579 of file liboutputfunctions.cpp.

References LogLikeFunction::A, LogLikeFunction::B, farsa::inv(), and farsa::mul().

void configure ( ConfigurationParameters params,
QString  prefix 
) [virtual]

Configures the object using a ConfigurationParameters object.

Parameters:
paramsthe configuration parameters object with parameters to use
prefixthe prefix to use to access the object configuration parameters. This is guaranteed to end with the separator character when called by the factory, so you don't need to add one

Implements ParameterSettableWithConfigureFunction.

Definition at line 585 of file liboutputfunctions.cpp.

References LogLikeFunction::A, LogLikeFunction::B, and ConfigurationParameters::getValue().

void save ( ConfigurationParameters params,
QString  prefix 
) [virtual]

Save the actual status of parameters into the ConfigurationParameters object passed.

Parameters:
paramsthe configuration parameters object on which save actual parameters
prefixthe prefix to use to access the object configuration parameters.

Implements ParameterSettable.

Definition at line 608 of file liboutputfunctions.cpp.

References LogLikeFunction::A, LogLikeFunction::B, ConfigurationParameters::createParameter(), and ConfigurationParameters::startObjectParameters().


Member Data Documentation


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