-
A program to demonstrate the optimization process of ant colony optimization for...
A program to demonstrate the optimization process of ant colony optimization for the traveling saleman problem (TSP). The cities are shown as red circles, the pheromone on the connections between them (fully connected graph) by gray lines. The darker the grey, the more pheromone is currently on the edge. During the optimization, the currently best found tour is drawn in red. To run the optimization, first create a random TSP, then create an ant colony, and finally run the optimization.
- 2022-02-19 22:51:42下载
- 积分:1
-
详细的记载了CRC算法的具体过程
详细的记载了CRC算法的具体过程- Detailed record CRC algorithm concrete process
- 2022-04-06 20:50:28下载
- 积分:1
-
牛顿插值计算(牛顿插值公式)
牛顿插值计算(牛顿插值公式)-Newton interpolation (Newton interpolation formula)
- 2022-05-15 21:14:57下载
- 积分:1
-
解调
本方案用于PIC与测量加速器和角度的角度传感器的连接。您必须创建一个mikroC项目并将这个C文件添加到这个项目中。请记住,不要修改此文件中的任何内容
- 2022-11-19 20:35:03下载
- 积分:1
-
本代码是《计算机常用数值计算算法与程序 C++版》一书的配套数据处理与回归分析代码,这些C++程序已经在Virsual C++ 6.0环境下通过。注意,在VC+...
本代码是《计算机常用数值计算算法与程序 C++版》一书的配套数据处理与回归分析代码,这些C++程序已经在Virsual C++ 6.0环境下通过。注意,在VC++ 6.0中设置好路径,特别是include目录(文件夹)的路径,否则在编译时会出现找不到头文件的错误,使编译无法正常进行。-the code is "commonly used computer numerical algorithms and procedures C version," a book supporting data processing and regression analysis of the code, these procedures have been in C C 6.0 Virsual environment through. The attention of the VC 6.0 installed path, in particular include directory (folder) path, otherwise there will be compiled header files could not find the mistakes and the compiler not normal.
- 2022-09-26 01:50:03下载
- 积分:1
-
28335产生pwm
基于DSP28335的spwm程序
EVA下面的通用定时器T1工作于连续增/减计数模式,产生三角载波,载波频率为3000Hz,载波比N=60,因此调制波形正弦波的频率为50Hz。本实验中,调制度为
0.8。
预存A相和B相的正弦值列表,C相的可以根据A相和B相的值计算出来
- 2022-12-07 21:00:03下载
- 积分:1
-
ACM的部分简单题目,可以有空做做,练习练习。
ACM的部分简单题目,可以有空做做,练习练习。-ACM part of a simple subject, you can time doing practice exercises.
- 2022-03-12 09:08:30下载
- 积分:1
-
一个java的tabu search算法框架
一个java的tabu search算法框架-one of tabu search algorithm framework
- 2022-03-25 14:23:27下载
- 积分:1
-
数组排序的经典程序shell。
数组排序的经典程序shell。-Sorting an array of classic shell procedures.
- 2022-04-08 11:10:51下载
- 积分:1
-
贝塞尔曲线示例
#include < iostream >
#include < 矢量 >
#include < math.h >
#include"BezierPoint.h"
使用命名空间 std ;
BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ;
双选择 (双 a,双 b) ;
双 factorial(double num) ;
int main(void) {
方法 < < BezierPoint >> 方法警校 ;
char endPointCount = 0;
双 inx ;
双 iny ;
int ptCount = 0;
int 终结点 ;
双 deltaT ;
cin >> ptCount >> deltaT ;
为 (int 我 = 0 ; 我 < ptCount; i + +) {
cin >> inx >> iny >> 终结点 ;
BezierPoint p iny inx) ;
如果 (endPointCount = = 0 & & 终结点 = = 1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
继续 ;
}
pts[pts.size()-1].push_back(p) ;
如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
}
}
为 (std::s
- 2022-03-13 19:08:01下载
- 积分:1