|
OptimizeInputsEx |
Accueil Précédent Suivant |
C/C++ declaration
long __stdcall OptimizeInputsEx(long Handle, long *Number, double *Input, long *InputBool, double *OutputTarget);
Pascal declaration
function OptimizeInputsEx(Handle: LongInt; var Number: LongInt; Input: PDouble; InputBool: PLongInt; OutputTarget: PDouble): LongInt; stdcall;
Reverse model computation
IN → Handle : Model handle.
IN → Mode Reverse computation mode
IN/OUT → Number Number of requested cycles. Return the actual number of cycles.
IN/OUT → Input Double table holding the input values (initial values / returnes values)..
IN → InputBool Long integer table holding the boolean variability of inputs.
IN → OutputTarget Double table holding the target outputs.
Return → 0 if OK, error code otherwise.
The model handle used here is a standard handle. Thisn is not the case for the handle used in OptimizeInputs.
The training algorithm can be fixed by calling SetIValue with the style "ipTrainingAlgorithm".
The computation mode can be fixed bt calling SetIValue with the style "ipReverseMode".