gusucode.com > 十大算法matlab程序说明 > 十大算法matlab程序说明/遗传退火法/一个Matlab的模拟退火算法工具箱/template_new.txt

    function W = PROBLEMNAME_new(X)
% W = PROBLEMNAME_new(X)
% See http://www.frostconcepts.com/software for information on SA Tools.
%
%   W = PROBLEMNAME_new(X) ;
%
%   X = behaviorally constant application data
%
%   W = specific data about current state
%
%   Instantiates a new state.
%
W = [] ;    % a typical application will put state specific data here