-
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
-
黑杰克(C语言和SDL实现)
用C语言写的黑杰克赌博游戏,21点又名黑杰克(BlackJack) ,起源于法国,已流传到世界各地。现在在世界各地 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-05-29 14:59:23下载
- 积分:1
-
Kruskal 算法
懂得此源代码演示Kruskal 生成树算法
- 2023-08-13 07:00:03下载
- 积分:1
-
« 问题描述:
假设要在足够多的会场里安排一批活动,并希望使用尽可能少的会场。设计一个有效的
贪心算法进行安排。(这个问题实际上是著名的图着色...
« 问题描述:
假设要在足够多的会场里安排一批活动,并希望使用尽可能少的会场。设计一个有效的
贪心算法进行安排。(这个问题实际上是著名的图着色问题。若将每一个活动作为图的一个
顶点,不相容活动间用边相连。使相邻顶点着有不同颜色的最小着色数,相应于要找的最小
会场数。)
« 编程任务:
对于给定的k个待安排的活动,编程计算使用最少会场的时间表。
« 数据输入:
由文件input.txt给出输入数据。第一行有1 个正整数k,表示有k个待安排的活动。接
下来的k行中,每行有2个正整数,分别表示k个待安排的活动开始时间和结束时间。时间
以0 点开始的分钟计。
« 结果输出:
将编程计算出的最少会场数输出到文件output.txt。
- 2022-01-22 15:10:09下载
- 积分:1
-
ant colony algorithm for TSP problem
tsp问题的蚂蚁算法-ant colony algorithm for TSP problem
- 2023-06-22 06:50:03下载
- 积分:1
-
adaboost算法的matlab实现
此文件包是对著名的adaboost算法的一个matlab实现,通过对threshold的加强,adaboost可以获得更好的分类效果。文件包包括以下文件:
1. ADABOOST_te.m
2. ADABOOST_tr.m
3. demo.m
4. likelihood2class.m
5. threshold_te.m
6. threshold_tr.m
- 2022-05-10 12:10:48下载
- 积分:1
-
c语言耍法,对于数学建模有用
c语言耍法,对于数学建模有用-c language game, useful for mathematical modeling.
- 2022-01-22 06:07:50下载
- 积分:1
-
two forks of trees were preorder
二叉排序树的中序遍历-two forks of trees were preorder
- 2023-01-22 11:40:04下载
- 积分:1
-
这个c语言程序实现中缀表达式变为后缀表达式,并且实现其计算...
这个c语言程序实现中缀表达式变为后缀表达式,并且实现其计算-the language program which is made up of expressions into a suffix expression, and its calculation
- 2023-06-28 05:20:03下载
- 积分:1
-
ras&md5
rsa&md5 公钥和私钥就是从两个文件PublicKey.xml、PrivateKey.xml中读取出来,相当于是现实中的指定公钥和私钥;再验证时我为了方便直接验证的A计算出的HASH码,现实中应该是由B重新计算出文件M的HASH码-ras&md5
- 2023-02-13 10:50:03下载
- 积分:1