Interface IMinimizer

Unit

Declaration

type IMinimizer = interface(IUnknown)

Description

Defines interface of data provider for optimization algorithm.

Hierarchy

  • IUnknown
  • IMinimizer

Overview

Methods

Public function EndOfCycle: boolean;
Public function Func: double;
Public function GetParam: double;
Public function GetStep: double;
Public procedure CalcFunc;
Public procedure SetFirstParam;
Public procedure SetNextParam;
Public procedure SetParam(NewParamValue: double);
Public procedure SetStep(NewStepValue: double);

Description

Methods

Public function EndOfCycle: boolean;

Returns flag indicating end of calculation cycle (when the last parameter has been varied and corresponding function values were evaluated.

Public function Func: double;

Returns result of function computation.

Public function GetParam: double;

Returns value of selected parameter.

Public function GetStep: double;

Returns current step value.

Public procedure CalcFunc;

Calculates function value.

Public procedure SetFirstParam;

Selects the first variable parameter.

Public procedure SetNextParam;

Selects next variable parameter. Changes internal state of provider in such way to allow other methods to have access to parameter data.

Public procedure SetParam(NewParamValue: double);

Sets value of selected parameter.

Public procedure SetStep(NewStepValue: double);

Set new step value.


Generated by PasDoc 0.15.0.