#include <OMKPolatorNT.h>
Inheritance diagram for OMK::Type::PolatorNT:
Public Types | |
enum | PrecisionLevels { Constant, Linear, Quadratic, Cubic, ConstantContinuous, LinearContinuous, QuadraticContinuous, CubicContinuous } |
Enumerate identifiers for the first levels of precision. More... | |
Public Member Functions | |
PolatorNT (int numberOfNeededValuesForMaxPrecisionPolation) | |
Contructor. | |
virtual | ~PolatorNT () |
Destructor. | |
virtual int | getNumberOfNeededValuesForMaxPrecisionPolation () const |
Returns number of needed values for a maximum precision polation. | |
Static Public Attributes | |
static int | defaultPrecisionLevel |
The default precision level for all polators created. | |
Protected Attributes | |
int | _numberOfNeededValuesForMaxPrecisionPolation |
Number of values needed to be able to use this polator at its maximum precision level. |
A polator is an object capable of extrapolation, interpolation and antepolation, and this at different precision levels.
Definition at line 38 of file OMKPolatorNT.h.
Enumerate identifiers for the first levels of precision.
Definition at line 60 of file OMKPolatorNT.h.
00061 { 00062 Constant, 00063 Linear, 00064 Quadratic, 00065 Cubic, 00066 ConstantContinuous, 00067 LinearContinuous, 00068 QuadraticContinuous, 00069 CubicContinuous 00070 };
PolatorNT::PolatorNT | ( | int | numberOfNeededValuesForMaxPrecisionPolation | ) |
Contructor.
numberOfNeededValuesForMaxPrecisionPolation | length of the history file needed to be able to use this polator at its maximum precision level. |
Definition at line 29 of file OMKPolatorNT.cpp.
00030 : _numberOfNeededValuesForMaxPrecisionPolation ( numberOfNeededValuesForMaxPrecisionPolation ) 00031 { 00032 }
PolatorNT::~PolatorNT | ( | ) | [virtual] |
int PolatorNT::getNumberOfNeededValuesForMaxPrecisionPolation | ( | ) | const [virtual] |
Returns number of needed values for a maximum precision polation.
Definition at line 38 of file OMKPolatorNT.cpp.
References _numberOfNeededValuesForMaxPrecisionPolation.
00039 { 00040 return _numberOfNeededValuesForMaxPrecisionPolation ; 00041 }
int PolatorNT::defaultPrecisionLevel [static] |
The default precision level for all polators created.
It is set to Constant by default. You can change it in the configuration by setting the value of the parameter defaultPolatorPrecisionLevel in the controller UserParams.
Definition at line 57 of file OMKPolatorNT.h.
Referenced by OMK::Controller::Controller().
Number of values needed to be able to use this polator at its maximum precision level.
Definition at line 75 of file OMKPolatorNT.h.
Referenced by getNumberOfNeededValuesForMaxPrecisionPolation().
Documentation generated on Mon Jun 9 11:46:05 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |