文件名称:manwandiaodu-PSO
- 所属分类:
- 数学计算/工程计算
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2016-04-23
- 文件大小:
- 289kb
- 下载次数:
- 0次
- 提 供 者:
- et***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
群微粒算法:本算法用群微粒算法求目标函数的最大值
//本算法使用步骤
// (1)派生自己的群微粒类,类中必须定义double GetFit(PARTICLE&)方法,用来计算每个微粒的适合度
// (2)生成派生类实例,并在构造函数中指明微粒坐标维数和群体个数
// (2)设置微粒坐标上界数组和下界数组,并用SetXup与SetXdown设置微粒坐标上下界
// (3)用SetVmax方法设置微粒最大速度
// (4)设置可选参数:C1,C2,W和通讯函数
// (5)采用Run方法进行优化运算,优化后用GetBest方法获得最优个体适合度和坐标-Group of particle algorithm: this algorithm with a group of particles for a maximum of the objective function
//the algorithm using steps
//derived their own group of particles (1) class, the class must be defined in a double GetFit (PARTICLE &) method, is used to calculate the fitness of each PARTICLE
//(2) generates derived class instance, and indicate the particles in the constructor coordinate dimension and the number of groups
//(2) set the particle coordinate arrays and lower bound, the upper bound and SetXup and SetXdown set the upper and lower bounds particle coordinates
//(3) set maximum speed particles in SetVmax way
//(4) set the optional parameters: C1 and C2, W and communications functions
//(5) Run method is adopted to optimize arithmetic, the optimized GetBest method to obtain the optimal individual fitness and coordinates
//本算法使用步骤
// (1)派生自己的群微粒类,类中必须定义double GetFit(PARTICLE&)方法,用来计算每个微粒的适合度
// (2)生成派生类实例,并在构造函数中指明微粒坐标维数和群体个数
// (2)设置微粒坐标上界数组和下界数组,并用SetXup与SetXdown设置微粒坐标上下界
// (3)用SetVmax方法设置微粒最大速度
// (4)设置可选参数:C1,C2,W和通讯函数
// (5)采用Run方法进行优化运算,优化后用GetBest方法获得最优个体适合度和坐标-Group of particle algorithm: this algorithm with a group of particles for a maximum of the objective function
//the algorithm using steps
//derived their own group of particles (1) class, the class must be defined in a double GetFit (PARTICLE &) method, is used to calculate the fitness of each PARTICLE
//(2) generates derived class instance, and indicate the particles in the constructor coordinate dimension and the number of groups
//(2) set the particle coordinate arrays and lower bound, the upper bound and SetXup and SetXdown set the upper and lower bounds particle coordinates
//(3) set maximum speed particles in SetVmax way
//(4) set the optional parameters: C1 and C2, W and communications functions
//(5) Run method is adopted to optimize arithmetic, the optimized GetBest method to obtain the optimal individual fitness and coordinates
(系统自动生成,下载前可以参看下载内容)
下载文件列表
manwandiaodu PSO
................\pso
................\...\pso.cpp
................\...\pso.h
................\...\vc_pso
................\...\......\Debug
................\...\......\.....\StdAfx.obj
................\...\......\.....\pso.exe
................\...\......\.....\pso.ilk
................\...\......\.....\pso.obj
................\...\......\.....\pso.pch
................\...\......\.....\pso.pdb
................\...\......\.....\vc60.idb
................\...\......\.....\vc60.pdb
................\...\......\ReadMe.txt
................\...\......\StdAfx.cpp
................\...\......\StdAfx.h
................\...\......\pso.cpp
................\...\......\pso.dsp
................\...\......\pso.dsw
................\...\......\pso.h
................\...\......\pso.ncb
................\...\......\pso.opt
................\...\......\pso.plg