arbitraryprecisioncalculation::Configuration Class Reference

Contains configuration of arbitrary precision calculation and supplies them by get and set methods. More...

#include <configuration.h>

Static Public Member Functions

static arbitraryprecisioncalculation::configuration::CheckPrecisionMode getCheckPrecisionMode ()
 Getter function for the check precision mode. More...
 
static double getCheckPrecisionProbability ()
 Getter function for the check precision probability. More...
 
static int getInitialPrecision ()
 Getter function for the initial precision. More...
 
static int getOutputPrecision ()
 Getter function for the output precision. More...
 
static int getPrecisionSafetyMargin ()
 Getter function for the precision safety margin. More...
 
static RandomNumberGeneratorgetStandardRandomNumberGenerator ()
 Getter function for the standard random number generator. More...
 
static void Init ()
 Resets all variables in the configuration section to the default values. More...
 
static bool isIncreasePrecisionRecommended ()
 Status function for increasing precision. More...
 
static void RecommendIncreasePrecision ()
 Sets the status whether the precision should be increased to YES. More...
 
static void ResetIncreasePrecisionRecommended ()
 Resets the status whether the precision should be increased to NO. More...
 
static void setCheckPrecisionMode (arbitraryprecisioncalculation::configuration::CheckPrecisionMode checkPrecisionMode)
 Setter function for the check precision mode. Stores the given check precision mode. More...
 
static void setCheckPrecisionProbability (double checkPrecisionProbability)
 Setter function for the check precision probability. Stores the given check precision probability. More...
 
static void setInitialPrecision (int initialPrecision)
 Setter function for the initial precision. Stores the given initial precision. More...
 
static void setOutputPrecision (int outputPrecision)
 Setter function for the output precision. Stores the given output precision. More...
 
static void setPrecisionSafetyMargin (int precisionSafetyMargin)
 Setter function for the precision safety margin. Stores the given precision safety margin. More...
 
static void setStandardRandomNumberGenerator (RandomNumberGenerator *standardRandomNumberGenerator)
 Setter function for the standard random number generator. Stores the given standard random number generator. More...
 

Detailed Description

Contains configuration of arbitrary precision calculation and supplies them by get and set methods.

Member Function Documentation

static arbitraryprecisioncalculation::configuration::CheckPrecisionMode arbitraryprecisioncalculation::Configuration::getCheckPrecisionMode ( )
static

Getter function for the check precision mode.

Returns
The current check precision mode.
static double arbitraryprecisioncalculation::Configuration::getCheckPrecisionProbability ( )
static

Getter function for the check precision probability.

Returns
The current check precision probability.
static int arbitraryprecisioncalculation::Configuration::getInitialPrecision ( )
static

Getter function for the initial precision.

Returns
The currently stored initial precision.
static int arbitraryprecisioncalculation::Configuration::getOutputPrecision ( )
static

Getter function for the output precision.

Returns
The currently stored output precision.
static int arbitraryprecisioncalculation::Configuration::getPrecisionSafetyMargin ( )
static

Getter function for the precision safety margin.

Returns
The currently stored precision safety margin.
static RandomNumberGenerator* arbitraryprecisioncalculation::Configuration::getStandardRandomNumberGenerator ( )
static

Getter function for the standard random number generator.

Returns
The currently stored standard random number generator.
static void arbitraryprecisioncalculation::Configuration::Init ( )
static

Resets all variables in the configuration section to the default values.

static bool arbitraryprecisioncalculation::Configuration::isIncreasePrecisionRecommended ( )
static

Status function for increasing precision.

Return values
TRUEif calculations recommend an increase of the precision.
FALSEotherwise.
static void arbitraryprecisioncalculation::Configuration::RecommendIncreasePrecision ( )
static

Sets the status whether the precision should be increased to YES.

static void arbitraryprecisioncalculation::Configuration::ResetIncreasePrecisionRecommended ( )
static

Resets the status whether the precision should be increased to NO.

static void arbitraryprecisioncalculation::Configuration::setCheckPrecisionMode ( arbitraryprecisioncalculation::configuration::CheckPrecisionMode  checkPrecisionMode)
static

Setter function for the check precision mode. Stores the given check precision mode.

Parameters
checkPrecisionModeThe new check precision mode.
static void arbitraryprecisioncalculation::Configuration::setCheckPrecisionProbability ( double  checkPrecisionProbability)
static

Setter function for the check precision probability. Stores the given check precision probability.

Parameters
checkPrecisionProbabilityThe new check precision probability.
static void arbitraryprecisioncalculation::Configuration::setInitialPrecision ( int  initialPrecision)
static

Setter function for the initial precision. Stores the given initial precision.

Parameters
initialPrecisionThe new initial precision.
static void arbitraryprecisioncalculation::Configuration::setOutputPrecision ( int  outputPrecision)
static

Setter function for the output precision. Stores the given output precision.

Parameters
outputPrecisionThe new output precision.
static void arbitraryprecisioncalculation::Configuration::setPrecisionSafetyMargin ( int  precisionSafetyMargin)
static

Setter function for the precision safety margin. Stores the given precision safety margin.

Parameters
precisionSafetyMarginThe new precision safety margin.
static void arbitraryprecisioncalculation::Configuration::setStandardRandomNumberGenerator ( RandomNumberGenerator standardRandomNumberGenerator)
static

Setter function for the standard random number generator. Stores the given standard random number generator.

Parameters
standardRandomNumberGeneratorThe new standard random number generator.

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