Class TCurvePointsSet
Unit
curve_points_set
Declaration
type TCurvePointsSet = class(TTitlePointsSet)
Description
Generic container for point set of all calcuated curves.
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
|
FInitHash: cardinal; |
Hash of initial parameter values.
|
|
FInitx0: double; |
Initial value of x0. It's used in some algorithms.
|
|
FMaxX: double; |
Boundaries for R-factor calculation.
|
|
FMinX: double; |
Boundaries for R-factor calculation.
|
|
FRangeDefined: boolean; |
Flag designating that boundaries of R-factor calculation has been set up. If False R-factor is calculated for all points of profile.
|
|
FRecalculate: boolean; |
|
Methods
|
constructor Create(AOwner: TComponent); override; |
|
|
destructor Destroy; override; |
|
|
function HasA: boolean; |
|
|
function Hasx0: boolean; |
Return True if attributes with predefined semantics were assigned.
|
|
function MinimumStepAchieved(Index: longint): boolean; |
These methods are used to limit direct access to variable parameters.
|
|
function GetA: double; |
|
|
function GetSigma: double; |
|
|
function GetValueByName(Name: string): double; virtual; |
Returns value of parameter with given name.
|
|
function GetVariableValue(Index: longint): double; virtual; |
Returns variable parameter by through index.
|
|
function GetVariationStep(Index: longint): double; virtual; |
Returns optimization step for parameter.
|
|
function Getx0: double; |
|
|
procedure BackupParameters; |
Temporarily stores values of variable parameters in internal memory area.
|
|
procedure CopyParameters(Dest: TObject); override; |
|
|
procedure InitVariationStep(Index: longint); |
|
|
procedure ReCalc(const Bounds: TPointsSet); |
Set of pairs of indexes of X-coordinates forming intervals in which functions should be calcuated (boundaries are included). Equity to nil designates that functions should be calculated for all points. Indexes instead of coordinates are used to avoid searching.
|
|
procedure RestoreParameters; |
Restores values of variable parameters from temporary storage.
|
|
procedure DoCalc(const Bounds: TPointsSet); virtual; abstract; |
Performs recalculation of all profile points.
|
|
procedure InitListOfVariableParameters; |
Performs intialization of variable list parameters.
|
|
procedure ScaleCurve(const Factor: double); |
Multiplies profile points by given factor.
|
|
procedure SetA(Value: double); |
|
|
procedure SetValueByName(Name: string; Value: double); virtual; |
|
|
procedure SetVariableValue(Index: longint; Value: double); virtual; |
Sets value of variable parameter.
|
|
procedure SetVariationStep(Index: longint; AStep: double); virtual; |
Sets optimization step for parameter.
|
|
procedure Setx0(Value: double); |
These functions don't perform profile recalculation and are used for initialization purposes (when Modified is set up).
|
Properties
|
property A: double read GetA write SetA; |
TODO: remove setter.
|
|
property x0: double read Getx0 write Setx0; |
TODO: remove setter.
|
Generated by PasDoc 0.15.0.
|