IdentityFunction Class Reference

IdentityFunction. More...

Inheritance diagram for IdentityFunction:

List of all members.

Public Member Functions

 IdentityFunction ()
 Construct.
virtual ~IdentityFunction ()
 Destructor.
virtual void apply (DoubleVector &inputs, DoubleVector &outputs)
 Implement the identity function.
virtual void configure (ConfigurationParameters &params, QString prefix)
 Configures the object using a ConfigurationParameters object.
virtual bool derivate (const DoubleVector &x, const DoubleVector &y, DoubleVector &d) const
 return always 1 (an explain of why will be coming soon)
virtual void save (ConfigurationParameters &params, QString prefix)
 Save the actual status of parameters into the ConfigurationParameters object passed.

Detailed Description

IdentityFunction.

IdentityFunction copyies the inputs to the outputs

Definition at line 40 of file liboutputfunctions.h.


Constructor & Destructor Documentation

Construct.

Definition at line 28 of file liboutputfunctions.cpp.

virtual ~IdentityFunction ( ) [inline, virtual]

Destructor.

Definition at line 45 of file liboutputfunctions.h.


Member Function Documentation

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

Implement the identity function.

Implements OutputFunction.

Definition at line 32 of file liboutputfunctions.cpp.

References DoubleVector::copyValues().

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 41 of file liboutputfunctions.cpp.

bool derivate ( const DoubleVector x,
const DoubleVector y,
DoubleVector d 
) const [virtual]

return always 1 (an explain of why will be coming soon)

Reimplemented from OutputFunction.

Definition at line 36 of file liboutputfunctions.cpp.

References DoubleVector::setAll().

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 48 of file liboutputfunctions.cpp.

References ConfigurationParameters::startObjectParameters().


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