-
遗传算法求解最短路径
遗传算法求解车辆路径问题,算法的实施步骤:
第一步:初始化 t←0进化代数计数器;T是最大进化代数;随机生成M个个体作为初始群体P(t);
第二步:个体评价 计算P(t)中各个个体的适应度; 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-22 15:04:01下载
- 积分:1
-
同一端口的多客户端socket连接
同一端口的多客户端socket连接
- 2023-06-07 17:10:03下载
- 积分:1
-
12864间接方式显示
12864间接方式显示-12,864 indirectly show
- 2022-07-04 05:04:20下载
- 积分:1
-
modbus rtu 上位机C#编程
Modbus协议通用上位机,可添加多个串口通道,每个通道可添加多台通信设备。支持0x03读功能码和0x10写功能码,可导出或导入配置点表,可查看通信报文信息及通信状态。附带串口通信测试监视功能。
- 2022-03-24 15:38:21下载
- 积分:1
-
d3d显示视频帧
d3d显示视频帧d3d显示视频帧d3d显示视频帧d3d显示视频帧d3d显示视频帧
- 2022-09-24 22:55:04下载
- 积分:1
-
合泰芯片,C语言编写,HT66F004范例程序
合泰芯片,C语言编写,HT66F004范例程序,包含power mode,IO EEPROM,EEPROM,ADC,PTM PWM,IO等例程
- 2022-03-15 15:11:18下载
- 积分:1
-
数字图像处理滤波
#include#include#includeusing namespace std;using namespace cv;Mat image;//输入的图像矩阵Mat fImageFFT;//图像的快速傅里叶变换Point maxLoc;//傅里叶谱的最大值的坐标int radius = 50;//截断频率const int Max_RADIUS = 100;int bandWid = 40;//带宽const int MAX_BANDWID = 50;//最大带宽Mat bpFilter;//带通滤波器int bpType = 0;//带通滤波器的类型const int MAX_BPTYPE = 2;Mat fImageFFT_bpFilter;//带通傅里叶变换Mat fImageFFT_bpFilter_spectrum;//带通傅里叶变换的傅里叶谱
- 2022-01-25 21:23:28下载
- 积分:1
-
C# 利用AND运算符进行查询
C# 利用AND运算符进行查询,查询外语成绩和高数成绩都大于80的学生信息。相关的SQL语句写法和自定义如下:
string P_Str_ConnectionStr = string.Format(//创建数据库连接字符串
@"server=WIN-GI7E47AND9RLS;database=db_TomeTwo;uid=sa;pwd=");
string P_Str_SqlStr = string.Format(//创建SQL查询字符串
"SELECT * FROM tb_Grade WHERE 外语>80 AND 高数>80");
SqlDataAdapter P_SqlDataAdapter = new SqlDataAdapter(//创建数据适配器
P_Str_SqlStr, P_Str_ConnectionStr);
DataTable P_dt = new DataTable();//创建数据表
P_SqlDataAdapter.Fill(P_dt);//填充数据表
return P_dt;//返回数据表
- 2023-08-29 10:55:04下载
- 积分:1
-
opengl 3d 直升机小程序
自己用c语言写的直升飞机小程序,适合初学opengl用户
- 2022-02-27 02:52:56下载
- 积分:1
-
jicheng
定义点Point类作为基类,在此基础上派生出直线Line类和圆Circle类,在Circle类的基础上以不同的属性派生出圆柱Cylinder类和球Spheroid。并要求基类和各派生类具有以下特点:
(1) Line类含有计算直线长度和斜率的成员函数。
(2) Circle类含有计算圆面积的成员函数。
(3) Cylinder类含有计算圆柱表面积和体积的成员函数。
(4) Spheroid类含有计算球体的表面积和体积的成员函数。
(Point definition of point type as the base category, on the basis of a straight line derived Circle Circle Line category and class, in the Circle class based on different attributes derived Cylinder class and ball cylinder Spheroid. And requested the base class, and factions of Health category has the following characteristics: (1) Line category contains the length and slope of a straight-line calculation of member functions. (2) Circle type of circular area containing the members of the calculation function. (3) Cylinder category contains cylindrical surface area and volume calculation of the member functions. (4) Spheroid Spheroid category contains the calculation of surface area and volume of the member functions.)
- 2009-01-03 09:49:40下载
- 积分:1