-
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅...
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。
例如:给定4个城市{1,2,3,4}及其各城市之间的路程
最优路线是1,3,2,4,1,
其最短路程是25-a salesman, traveling salesman problem, a number of cities to sell commodities, the known distance between the city (or travel). He selected from a resident, after each city again, the last resident to return to the line, making the total distance (or travel) is the smallest. For example : given four cities (1,2,3,4) and the distance between the city optimal route is 1,3,2,4, 1, the shortest distance is 25
- 2022-03-31 13:34:20下载
- 积分:1
-
巴斯角三角形
经典算法巴斯角三角形的实现,类似中国古代的杨辉三角#include
#define N 12
long combi(int n, int r){
int i;
long p = 1;
for(i = 1; i
- 2022-12-16 03:55:02下载
- 积分:1
-
任何给一些数一个和,算出这些可以有哪些方式计算得到这个和的算法....
任何给一些数一个和,算出这些可以有哪些方式计算得到这个和的算法.-any given some a few and calculate what they can be calculated and this algorithm.
- 2023-03-03 16:45:04下载
- 积分:1
-
lms source code for adaptive filtering the acoustic noise.
lms source code for adaptive filtering the acoustic noise.
- 2022-05-28 15:10:36下载
- 积分:1
-
kalman滤波的白球跟踪
基于卡尔曼滤波的白球跟踪程序,白球为运动球,绿球为基于kalman滤波跟踪的球,红球为观测球,对kalman的理解有较好的帮助
- 2022-03-13 18:17:09下载
- 积分:1
-
XMDS is a code generator that integrates equations. You write them down in human...
XMDS is a code generator that integrates equations. You write them down in human readable form in a XML file, and it goes away and writes and compiles a C++ program that integrates those equations as fast as it can possibly be done in your architecture.
- 2022-05-07 07:29:40下载
- 积分:1
-
gradient method
这是凸优化中梯度法的代码
- 2023-05-17 04:10:03下载
- 积分:1
-
k均值聚类分析,比较简单,只适合学习使用个,不适合数据处理。...
k均值聚类分析,比较简单,只适合学习使用个,不适合数据处理。-k-means clustering analysis, relatively simple, only suitable for learning to use one, not suitable for data processing.
- 2022-02-06 15:39:22下载
- 积分:1
-
路径规划的原代码 删格法
路径规划 删格法
- 2023-07-08 18:25:03下载
- 积分:1
-
CJudgeMatrixCJudgeMatrix
判断矩阵,用于判矩阵计算,特征向量法,和法等。
判断矩阵,用于判矩阵计算,特征向量法,和法等。
- 2022-03-12 23:40:39下载
- 积分:1