登录
首页 » c » 粒子群优化算法POS

粒子群优化算法POS

于 2022-01-22 发布 文件大小:14.74 kB
0 111
下载积分: 2 下载次数: 2

代码说明:

粒子群优化算法 const int PNum = 20; //微粒个数 const int PDim = 2; //微粒维数 double Xup[] = {100, 100}; //自变量上界 double Xdown[] = {-100, -100}; //自变量下界 //主程序 void main() { MyPSO pso(PDim, PNum); //生成微粒群实例 pso.SetXup(Xup); //设置自变量上界 pso.SetXdown(Xdown); //设置自变量下界 pso.SetVmax(0.2); //设置最大速度 pso.SetCom(MyCom); //设置通讯函数 cout

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • OfficePlugins_Klose_Rinz
    windowsOffice中诸多实用性插件,包括MATHTYPE等。(windowsOffice many of the practicality of plug-ins, including MATHTYPE.)
    2012-05-01 23:32:59下载
    积分:1
  • C8051Fxxx-SOC-microcomputer
    学习C8051系列单片机的必备书籍,十分好用(Learn C8051 Series MCU essential books, very easy to use)
    2013-10-07 17:09:53下载
    积分:1
  • simpleinjection
    Basic windows DLL Injector
    2011-11-18 15:10:59下载
    积分:1
  • VC 透明窗口效果的电子标尺源代码
    说明:  使用C++编写的透明窗口效果的电子标尺源代码,实现了随鼠标光标移动实时获取桌面坐标位置;支持两点测量、多点测量和角度测量,并支持测量结果的保存。(The electronic ruler source code with transparent window effect written in C + + realizes the real-time acquisition of desktop coordinate position with mouse cursor movement, supports two-point measurement, multi-point measurement and angle measurement, and supports the saving of measurement results.)
    2021-02-09 13:31:06下载
    积分:1
  • ADC转串口
    STM32 ADC转换串口程序,STM32基础入门,注释详细,代码容易理解
    2022-05-14 19:41:24下载
    积分:1
  • ShowTime
    这是一个evc制作的显示时间的软件,在wince平台可以运行,修改。 (This is a evc show time software, with wince platform can run, modify. )
    2016-05-30 18:20:33下载
    积分:1
  • 串口通信课程设计
    #include     //52系列单片机头文件#define uchar unsigned char#define uint unsigned int sbit cs1=P2^3; //数码管段选信号sbit cs2=P2^2; //数码管段选信号sbit cs3=P2^1; //数码管段选信号sbit cs4=P2^0; //数码管段选信号sbit RE=P1^6; //低电平收数据,高电平发数据sbit DE=P1^7;   //低电平收数据,高电平发数据sbit key0=P1^0;   //主机用两个拨码开关sbit key1=P1^1; //主机用两个拨码开关uchar show_code[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x83,0xf8,0x80,0x98}; //数字0-9的显示码,更改数码管显示程序。uchar temp1=0,temp2=0;uchar count=0,sum=0;//void delayms(uint); //延时函数声明//void decide (void);void send_byte(uchar t)   //发送一个字节  发送一个数据后立马变成收数据的状态{ RE=1;  //高电平发    DE=1;  //高电平发         ES=0;    SBUF=t; while(!TI);   TI=0;ES=1; RE=0;  //低电平收    DE=0;  //低电平收}void delayms(uint xms) //延时
    2022-08-22 08:46:22下载
    积分:1
  • lubiaolabjiance
    说明:  具有自检测功能的交通路标识别系统代码。能自动识别常见的交通标志,检测道路信息。(Self-detection of traffic signs recognition system code. Can automatically identify common traffic signs, road information detected.)
    2011-03-19 16:15:25下载
    积分:1
  • 利用图中颜色的相关信息 hand-detection
    利用图中颜色的相关信息,检测出视频中的手掌(Depend on the color message,Detect the hand in the video)
    2016-04-19 23:27:19下载
    积分:1
  • FBP神经网络
    FBP神经网络,BP神经网络的改进型,收敛速度更快。
    2023-02-15 04:05:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载