资源简介
化学反应优化算法 最近提出的一种优化算法 源代码
代码片段和文件信息
%
%
% “Chemical Reaction Optimization“
%
% Copyright 2013 The University of Hong Kong (“HKU“). All Rights Reserved.
%
%
% This file is licensed to you (“You“) for academic and non-commercial
% internal research purpose only subject to the terms and conditions of the
% license agreement downloadable from the HKU website (the “License“); You may
% not use this file except in compliance with the License. You may obtain a
% copy of the License at
%
% http://cro.eee.hku.hk/license.txt
%
%
% This file is provided on an ‘as is‘ and ‘as available“ basis without warranty of
% any kind either express or implied including but not limited to the implied
% warranties of fitness for a particular purpose merchantability
% non-infringement or security.
%
%
% In no event including (without limitation) negligence shall HKU its
% subsidiaries affiliates agents officers directors employees partners or
% suppliers be liable to You or any third party for any direct indirect
% incidental special exemplary or consequential damages (including but not
% limited to procurement of substitute goods or services; loss of use data or
% profits; or business interruption) however caused and on any theory of
% liability whether in contract strict liability or tort (including negligence
% or otherwise) arising in any way out of the use of this file even if advised of
% the possibility of such damage.
%
%
% See the License for the specific language governing permissions and limitations
% under the License.
%
%
%
classdef CROCanonical < handle
properties
param;
stat;
end
properties(Access = private)
sampleMol;
t1;
t2;
repMol;
curFE = 0;
eBuffer = 0;
repGlobal = 1E300;
pop;
end
methods
function self = CROCanonical(varargin)
self.sampleMol = varargin{1};
if nargin == 1
self.param = CROParameter();
elseif nargin == 2
self.param = varargin{2};
end
self.t1 = self.sampleMol.clone();
self.t2 = self.sampleMol.clone();
self.repMol = self.sampleMol.clone();
end
function opt = run(self)
self.stat = CROStatistic(self.sampleMol self.param.repeats...
self.param.numCovData self.param.FELimit);
for repeats = 1:self.param.repeats
start = clock();
self.repGlobal = 1E300;
self.pop = [];
for i = 1:self.param.iniPopSize
m = self.sampleMol.clone();
self.initMol(m);
self.pop = [self.pop m];
self.update(m);
end
self.curFE = self.param.iniPopSize;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 182 2013-03-06 21:10 UPDATES
目录 0 2013-03-06 21:06 CROlib.mat\
文件 9840 2013-03-06 20:58 CROlib.mat\CROCanonical.m
文件 2474 2013-03-06 21:09 CROlib.mat\CROMolecule.m
文件 2090 2013-03-06 21:08 CROlib.mat\CROMolecule1DArray.m
文件 3339 2013-03-06 21:08 CROlib.mat\CROMolecule1DArrayBinary.m
文件 3487 2013-03-06 21:08 CROlib.mat\CROMolecule1DArrayDouble.m
文件 3699 2013-03-06 21:08 CROlib.mat\CROMolecule1DArrayInt.m
文件 2130 2013-03-06 21:08 CROlib.mat\CROMolecule2DArray.m
文件 2182 2013-03-06 21:09 CROlib.mat\CROMolecule3DArray.m
文件 3178 2013-02-25 17:18 CROlib.mat\CROParameter.m
文件 3619 2013-03-06 21:02 CROlib.mat\CROStatistic.m
目录 0 2013-02-25 17:32 example\
文件 2671 2013-02-25 17:27 example\ex1.m
文件 88 2013-02-25 16:52 example\ex1conf.txt
文件 83 2013-02-25 17:30 example\ex1fit.m
文件 3007 2013-03-05 16:50 example\ex1mol.m
文件 1877 2013-02-25 17:32 example\ex2.m
文件 6712 2013-02-25 16:12 LICENSE
- 上一篇:多尺度LBP
- 下一篇:simuli
nk仿真spwm逆变器
相关资源
- libsvm 程序集数据集
- 很好的matlab libsvm应用案例( heart_sc
- libsvm SVM分类器
- matlab的libsvm3.18工具箱
- libsvm-mat-2.89-3[FarutoUltimate3.0] SVM分类、
- libsvm-cg 支持向量机参数c和g的优化
- SVDD LIBSVM中的SVDD(Support vector data de
- gabor-pca 本程序是先用gabor小波变换对
- SVMyuce matlab支持向量机预测
- SVM-face-recognition 注意:LIBSVM需要手动
- 001-WavepacketPpowerPLibSVM-and-ANN
- heart_scale 该文件为libsvm核心数据集文
- libsvm的matlab版实现多类分类超级经典
- libsvm-3.21 支持向量机工具箱
评论
共有 条评论