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 OnFindNbState | |||||||
See also: Execute | |||||||
OnFindNbState |
|||||||
The OnFindNbState event is called when the annealing algorithm needs to get a new variable combination. The parameter CurrentVarSet contains the current subset of variables, the parameter NextVarSet has to be set to reflect the next subset to be evaluated. The variable parameter Finished should be set to TRUE if no new subsets can be found (this effectively stops the annealing process). The parameters CurrentVarSet and NextVarSet contain 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). Please note that the routine calls a default handler if you leave OnFindNbState unassigned.
|