搜索资源列表
filter
- M=63 J=(M-1)/2 Wp=0.5*pi Ws=0.6*pi Np=100 Ns=100 weightp=1 weights=100 通带和阻带的加权系数 WpN=linspace(0,Wp,Np) WsN=linspace(Ws,pi-0.05,Ns) Wm=[WpN WsN] p=[ones(1,50),ones(1,50)/2] d=[p,zeros(1,Ns)] W=diag([weightp*ones(1,Np),weights*o
juzhen
- 矩阵的乘法.只有当矩阵A的列数与矩阵B的行数相等时A×B才有意义。一个m×n的矩阵a(m,n)左乘一个n×p的矩阵b(n,p),会得到一个m×p的矩阵c(m,p)-Matrix multiplication
Market_C
- NP问题的近似算法实现,VC++ 6.0开发环境 / C++语言,关于超市选点-NP problem to achieve approximation algorithm, VC++ 6.0 development environment/C++ language, on the supermarket site selection
TSP
- 解决TSP问题的C++程序,NP问题类型,大家可以- Problem solving TSP C++ program, NP question types, we can see
Ant-algorithm
- 蚁群算法,人工智能,C++实现,可以用来学习解决TSP问题,图像拼接问题,希望对你有帮助!-Ant algorithm,it has been proved that that can help you learn or solve TSP or NP!
packet
- 背包问题(Knapsack problem)是一种组合优化的NP完全问题-used the c++ for parket problem
ex1.doc
- 1. compile: mpicc seidel.c -o seidel 2. run: mpirun -np 4 seidel 3. result: Input of file "dataIn.txt" 3 4 9.000000 -1.000000 -1.000000 7.000000 -1.000000 8.000000 0.000000 7.000000
vrp
- 假设在一个供求关系系统中,车辆从货源取货,配送到对应的若干配送点。车辆存在最大载货量,且配送可能有时间限制。需要合理安排取货时间,组织适当的行车路线,使用户需求得到满足,同时使某个代价函数最小,比如总工作时间最少、路径最短等。 可以看出TSP问题是VRP问题的一种简单特殊形式。因此,VRP也是一种NP hard 问题。 目前解决此种问题的办法有多种,主要以启发式算法为主。包括退火算法、遗传算法、蚁群算法、禁忌算法等,本文介绍两种比较简单算法:C-W节约算法和遗传算法。(Assume that