资源简介
有利于帮助大家求解模拟退火算法,非常有用
代码片段和文件信息
function [WEwWbsfEbsfTtEtEtargetertKtEbsftEhMrhoEbin] = anneal( ...
verbose ...
newstate X ...
cost moveclass ...
walkers ...
acceptrule q ...
schedule P ...
equilibrate C maxsteps ...
Tinit r ...
Tfinal f maxtemps ...
v bins e)
% MAIN DRIVER and HELP file supplied with SA Tools.
% Copyright (c) 2002 by Richard Frost and Frost Concepts.
% See http://www.frostconcepts.com/software for information on SA Tools.
% Get the book: http://www.frostconcepts.com/books/ebsa/
%
% [WEwWbsfEbsfTtEtEtargetertKtEbsftEhMrhoEbin] = anneal( ...
% verbose ...
% newstate X ...
% cost moveclass ...
% walkers ...
% acceptrule q ...
% schedule P ...
% equilibrate C maxsteps ...
% Tinit r ...
% Tfinal f maxtemps ...
% v bins e)
%
% verbose = prints status information when true (1).
% newstate = (handle to) user-defined method
% W0 = newstate(X) where
% X = user-defined problem domain or other data
% behaviorally static.
% W0 = an initial user-defined state.
% Book chapter 2.
% X = user-defined problem domain or other data behaviorally static.
% Book chapter 2.
% cost = (handle to) user-defined objective method (function)
% Ew = cost(XW) where
% X = user-defined problem domain or other data.
% W = a user-defined state from ‘newstate‘ or ‘moveclass‘.
% Ew = energy corresponding to W
% Book chapter 9.
% moveclass = (handle to) user-defined method
% W = moveclass(XWEaT) where
% X = user-defined problem domain or other data.
% W = a user-defined state from ‘newstate‘ or ‘moveclass‘.
% Ea = average energy at current temperature.
% T = current temperature
% Book chapters 2.2 and 10.2.
% walkers = number of walkers. Must be positive integer.
% walkers = 1 implies barebones annealing
% walkers > 4 suggested for ensemble methods
% Book chapters 4 and 7.
% acceptrule = (handle to) SA Tools or user-defined method
% a = acceptrule(dETq) where
% dE = the difference in cost between a trial state and
% the current state: dE = Wtrial - W
% T = the current temperature
% q = any data required by the acceptrule
% a = 0 if trial is rejected otherwise 1.
% SA Tools supplied methods are:
% metropolis
% szu
% tsallis
% threshold
% franz
% Book chapter 11.
% q = any data required by the acceptrule.
% Book chapter 11.
% schedule = (handle to) SA Tools or user-defined temperature update
% next
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1456 2002-10-11 12:41 satools\COPYRIGHT.txt
目录 0 2002-10-30 01:05 satools\m\
文件 16965 2002-10-23 21:17 satools\m\anneal.m
文件 1079 2002-10-23 21:30 satools\m\berkeley.m
文件 1456 2002-10-11 12:41 satools\m\COPYRIGHT.txt
文件 1025 2002-10-10 13:00 satools\m\dispEh.m
文件 938 2002-10-07 22:41 satools\m\dispEt.m
文件 629 2002-10-08 18:42 satools\m\dispMat.m
文件 1461 2002-10-23 21:33 satools\m\ensembleInit.m
目录 0 2002-10-30 01:05 satools\m\examples\
目录 0 2002-10-30 01:05 satools\m\examples\chemcluster\
文件 713 2002-10-27 22:08 satools\m\examples\chemcluster\cluster_cost.m
文件 1021 2002-10-27 22:07 satools\m\examples\chemcluster\cluster_init.m
文件 859 2002-10-27 22:08 satools\m\examples\chemcluster\cluster_new.m
文件 967 2002-10-27 22:09 satools\m\examples\chemcluster\cluster_perturb.m
文件 467 2002-10-24 16:28 satools\m\examples\chemcluster\clusterdistances.m
文件 364 2002-10-24 16:18 satools\m\examples\chemcluster\clusterplot.m
文件 3737 2002-10-27 22:09 satools\m\examples\chemcluster\test_all.m
文件 1684 2002-10-27 22:09 satools\m\examples\chemcluster\try_me.m
目录 0 2002-10-30 01:05 satools\m\examples\graphbipart\
文件 724 2002-10-27 22:13 satools\m\examples\graphbipart\bipart_cost.m
文件 1748 2002-10-27 22:13 satools\m\examples\graphbipart\bipart_init.m
文件 452 2002-10-27 22:13 satools\m\examples\graphbipart\bipart_new.m
文件 573 2002-10-27 22:12 satools\m\examples\graphbipart\bipart_perturb.m
文件 1569 2002-10-27 22:12 satools\m\examples\graphbipart\try_me.m
目录 0 2002-10-30 01:05 satools\m\examples\proteinfold\
文件 1940 2002-10-24 16:58 satools\m\examples\proteinfold\sequence_cost.m
文件 1635 2002-10-27 22:16 satools\m\examples\proteinfold\sequence_init.m
文件 1135 2002-10-27 22:16 satools\m\examples\proteinfold\sequence_new.m
文件 2305 2002-10-29 13:00 satools\m\examples\proteinfold\sequence_perturb.m
文件 1700 2002-10-27 22:15 satools\m\examples\proteinfold\try_me.m
............此处省略60个文件信息
评论
共有 条评论