#include <D:/Temp/vs/gal/source/ScalingOperations.h>
Inherits Population::GaScalingParams.
Public Member Functions | |
GaScaleFactorParams (float factor) | |
This constructor initializes parameters with user defined scale factor. | |
GaScaleFactorParams () | |
This constructor initializes parameters with default values. Default scaling factor is 1. | |
virtual GaParameters *GACALL | Clone () const |
More details are given in specification of GaParameters::Clone method. | |
float GACALL | GetFactor () const |
This method is not thread-safe. | |
void GACALL | SetFactor (float factor) |
SetFactor method sets scaling factor. | |
Private Attributes | |
float | _factor |
Scaling factor. |
This class has no built-in synchronizator, so LOCK_OBJECT
and LOCK_THIS_OBJECT
macros cannot be used with instances of this class. No public or private methods are thread-safe.
Population::ScalingOperations::GaScaleFactorParams::GaScaleFactorParams | ( | float | factor | ) | [inline] |
This constructor initializes parameters with user defined scale factor.
factor | scaling factor. |
Population::ScalingOperations::GaScaleFactorParams::GaScaleFactorParams | ( | ) | [inline] |
This constructor initializes parameters with default values. Default scaling factor is 1.
virtual GaParameters* GACALL Population::ScalingOperations::GaScaleFactorParams::Clone | ( | ) | const [inline, virtual] |
More details are given in specification of GaParameters::Clone method.
This method is not thread-safe.
Implements Common::GaParameters.
float GACALL Population::ScalingOperations::GaScaleFactorParams::GetFactor | ( | ) | const [inline] |
This method is not thread-safe.
void GACALL Population::ScalingOperations::GaScaleFactorParams::SetFactor | ( | float | factor | ) | [inline] |
SetFactor
method sets scaling factor.
This method is not thread-safe.
factor | scaling factor. |
float Population::ScalingOperations::GaScaleFactorParams::_factor [private] |
Scaling factor.