-
模拟退火算法解决TSP旅行商问题和车辆配送路径优化
用固体退火模拟组合优化问题,将内能E模拟为目标函数值f,温度T演化成控制参数t,即得到解组合优化问题的模拟退火算法:由初始解i和控制参数初值t开始,对当前解重复“产生新解→计算目标函数差→接受或舍弃”的迭代。由多辆车对一批货物进行配送,车辆存在容积的限制,而不同的客户间的距离适用于旅行商问题,故此用模拟退火的思想来解决车辆配送和路径选择之间的关系
- 2022-03-22 09:14:07下载
- 积分:1
-
双曲线回归方程 HyperbolaRegress.cs
注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错...
双曲线回归方程 HyperbolaRegress.cs
注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错流程控制。X不能为0。
方程模型为
public override double[] buildFormula()
得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。
public override double forecast(double x)
预测函数,根据模型得到预测结果。
public override double computeR2()
-Hyperbola regression equation HyperbolaRegress.cs attention! The model demands a and b value is greater than 0! Caution should be taken when using the model verify the conditions of this restriction. I realize the model error is not to join any flow control. X should not to 0. Equation model for public override double [] buildFormula () get coefficient array, the storage order and model coefficients contrary, that is, the array is followed by the value of coefficient b, a. public override double forecast (double x) prediction function, according to the results of model prediction. public override double computeR2 ()
- 2022-02-07 00:59:29下载
- 积分:1
-
《陈必红算法》一书的附带的源代码,并有经本人修改过能在VC中使用。原书是在C++BUILDER中使用的。并加了一些其他的功能,比如样条插值等。此代码,可以完成矩...
《陈必红算法》一书的附带的源代码,并有经本人修改过能在VC中使用。原书是在C++BUILDER中使用的。并加了一些其他的功能,比如样条插值等。此代码,可以完成矩阵的很多数值算法,求逆阵、特征向量、特征值,矩阵的加减乘除、傅立叶变换、gamma函数、数值解分微分等。-"Chen Hung method," a fringe of the source code, and as I changed the VC can be used. The original book is in the C BUILDER used. Plus a number of other functions, such as spline interpolation. This code can be completed in many numerical matrix algorithm, the inverse matrix, the eigenvectors and eigenvalues, the matrix arithmetic. Fourier transform, gamma function, numerical solution of differential- such.
- 2023-01-23 22:35:03下载
- 积分:1
-
使用结点分析法求解直流电阻电路,并将结果保存在txt格式的文档中...
使用结点分析法求解直流电阻电路,并将结果保存在txt格式的文档中-The use of node analysis method to solve the DC resistance circuit, and the results saved in txt format document
- 2022-07-27 14:21:49下载
- 积分:1
-
梯度下降
梯度下降法,需要安装numpy库,示例是二位的点进行拟合。将注释去掉就可以完整运行。根据网上的梯度下降算法公式编写完成。可以自己扩展到多维的数据点进行拟合
- 2022-02-01 03:57:04下载
- 积分:1
-
旋转路由协议
路由协议是一种不可缺少的一部分,它保证了无线传感器网络的正常运行和信息的高效传输
- 2022-03-05 08:50:58下载
- 积分:1
-
递归算法周游二叉树
代码包含二叉树创建以及二叉树的先根序列,后根序列,中根序列三种递归周游二叉树算法,若有错误之处之处,还望指出!谢谢
- 2022-01-21 02:01:44下载
- 积分:1
-
Fast Fourier Transform C language source code
快速傅利叶变换 C 语言源代码-Fast Fourier Transform C language source code
- 2022-03-20 14:09:03下载
- 积分:1
-
用C++编写的双三次样条插值算法
用C++编写的双三次样条插值算法-prepared by the C-cubic spline interpolation algorithm
- 2022-01-20 22:53:16下载
- 积分:1
-
学生成绩查询系统
这是我编写的学生成绩查询系统,里面包含成绩查询,排序等功能,希望对学习计算机语言的同学有所帮助,可以任意使用。
- 2022-03-30 23:01:06下载
- 积分:1