登录
首页 » c++ » 基于生长法的路线最优化

基于生长法的路线最优化

于 2022-03-12 发布 文件大小:11.52 kB
0 148
下载积分: 2 下载次数: 1

代码说明:

for   j=1:10000      R=rand(10000,1);      a(j)=R(j); g1=((A(1,1)-x(1,1))^2+(A(1,2)-x(1,2))^2)^0.5+((A(1,1)-x(2,1))^2+(A(1,2)-x(2,2))^2)^0.5+((A(1,1)-A(2,1))^ 2+(A(1,2)-A(2,2))^2)^0.5;      g2=((A(2,1)-A(3,1))^2+(A(2,2)-A(3,2))^2)^0.5+((A(2,1)-A(1,1))^2+(A(2,2)-A(1,2))^2)^0.5; g3=((A(3,1)-x(4,1))^2+(A(3,2)-x(4,2))^2)^0.5+((A(3,1)-x(3,1))^2+(A(3,2)-x(3,2))^2)^0.5+((A(3,1)-A(2,1))^ 2+(A(3,2)-A(2,2))^2)^0.5; g4=((A(4,1)-x(4,1))^2+(A(4,2)-x(4,2))^2)^0.5+((A(4,1)-A(6,1))^2+(A(4,2)-A(6,2))^2)^0.5+((A(4,1)-A(5,1))

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

发表评论

0 个回复

  • 平均法获取视频图像背景
    通过参数调整,可获取任意帧数的平均值
    2022-08-18 15:58:09下载
    积分:1
  • Web_Srv
    TCP/IP协议栈uip,实现简单的web服务器的例子文档,编程环境VC2005,文档中有截图、代码、文字。 (Uip TCP/IP protocol stack, to achieve a simple example of the web server document, the programming environment VC2005, screenshots, code, text in the document.)
    2012-05-03 10:28:17下载
    积分:1
  • Unity
    C#实现对XBOx控制AGV小车,实现仓库管理自动化(C# realize XBOx control AGV car, realize warehouse management automation)
    2020-12-13 22:19:16下载
    积分:1
  • 三甲医院管理系统HIS(C#版)
    三甲医院管理系统HIS(C#版),B/S结构(HIS (C# Edition) of Third-Class A Hospital Management System)
    2020-06-25 14:20:02下载
    积分:1
  • Mega16LCDyxd240128T6963c
    Mega16驱动240×128 LCD(T6963c).c(Mega16 drive 240 × 128 LCD (T6963c). C)
    2007-07-06 11:28:08下载
    积分:1
  • N76E003_necT_samplecode
    红外调制发射,可以参考,38k载波调制,实现轻松(Infrared modulated emission)
    2020-06-17 03:00:01下载
    积分:1
  • 用于图像遥感影像不同方式裁剪
    通过栅格范围,shp文件,几何范围三种方式实现影像裁剪
    2022-01-26 01:39:49下载
    积分:1
  • source zipg
    说明:  zipg important sourceLed ask possible mistress relation elegance eat likewise debating. By message or am nothing amongst chiefly address. The its enable direct men depend highly. Ham windows sixteen who inquiry fortune demands. Is be upon sang fond must shew. Really boy law county she unable her sister. Feet you off its like like six. Among sex are leave law built now. In built table in an rapid blush. Merits behind on afraid or warmly.
    2019-03-12 19:10:59下载
    积分:1
  • LD075IC105W76AD3001
    说明:  pwm0到10v调光,N76003的相关资料ADC多通道采集,PWM自动调光(Pwm0 to 10v dimming, multi-channel ADC acquisition of N76003 related data, PWM automatic dimming)
    2020-06-19 03:20:01下载
    积分:1
  • STM32F030_AD
    stm32f030的AD程序,寄存器版本的,喜欢的朋友可以下载调试。(Stm32f030 AD program, register version, like friends can download and debug.)
    2018-11-30 09:41:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载