The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Math2 Class TSimAnnealVarSel Events OnEvalCost | |||||||
See also: TOnEvalCostSimAnneal, Execute, MinimizeCost | |||||||
OnEvalCost |
|||||||
The OnEvalCost event is triggered when the annealing algorithm requires a particular model to be evaluated. The parameter VarSet contains an array of flags which indicates which particular variables of the entire set of variables are to be used as independent variables (a TRUE value indicates that the corresponding variable is to be included in the model). The variable parameter Cost has to return the value of the cost function.
|