登录
首页 » 算法 » A program to demonstrate the optimization process of ant colony optimization for...

A program to demonstrate the optimization process of ant colony optimization for...

于 2022-02-19 发布 文件大小:20.51 kB
0 228
下载积分: 2 下载次数: 1

代码说明:

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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • this program highlights the pointer to pointer and enum concepts of c
    this program highlights the pointer to pointer and enum concepts of c
    2022-06-15 05:57:25下载
    积分:1
  • 搜索引擎的评估准则
    应用背景本代码主要实现搜索引擎的几个评估准则,包括NDCG@K、DCG@K、P@K、RR@K、ERR@K这五类评估准则的实现,这代码主要是根据RankLib中的评估准则代码以scala的形似展现出来,相对于RankLib中的 评估代码而言,本代码短小,可读性强,可移植性大,关键技术本文使用 的scala实现,对NDCG@K、DCG@K、P@K、RR@K、ERR@K这五类评估准则的实现,跟RankLib中的评估公式保持一致
    2022-07-14 14:24:01下载
    积分:1
  • 二叉树的各种操作,实现插入,查找,删除等功能
    二叉树的各种操作,实现插入,查找,删除等功能-binary tree operation, and achieve insert, search, delete function
    2022-07-27 16:09:26下载
    积分:1
  • 根据相似度去文本重复
    数据挖掘根据相似度去文本重复的一个程序,用c++语言写的,可用于数据挖掘的预处理。
    2022-03-09 22:53:55下载
    积分:1
  • 隐式消元法计算程序 比较精炼
    隐式消元法计算程序 比较精炼 -implicit elimination method calculation procedures more refined
    2022-02-22 08:20:03下载
    积分:1
  • c + + 的高斯算法
    大家好!我在C ++初学者,以前从来没有编写任何其他语言。现在我想写将使用高斯约算法来找到n个未知数 的系统的解决方案,无需使用任何先进的概念,如类,重载运算符一个简单的控制台应用程序
    2022-02-01 19:43:06下载
    积分:1
  • prepared using Matlab, uses subject, see
    用matlab编写,用途见题目-prepared using Matlab, uses subject, see
    2022-03-02 08:48:48下载
    积分:1
  • book is widely used in engineering at the effective preparation of the algorithm...
    书是针对工程上常用的行之有效的算法而编写的C语言函数程序集,在第一版的基础上作了修改和扩充。书中包括了近几年出现的许多新算法。全书分为数值计算与非数值计算两部分。其中数值计算部分的内容包括:线性代数方程组的求解、矩阵运算、矩阵特征值与特征向量的计算、非线性方程与方程组的求解、插值、数值积分、常微分方程(组)的求解、拟合与逼近、数据处理与回归分析、极值问题、数学变换与滤波、特殊函数、随机数的产生、多项式与连分式函数的计算、复数运算;非数值计算部分的内容包括:排序、查找、图形模式下读写屏幕象点、基本图形操作、汉字操作等。-book is widely used in engineering at the effective preparation of the algorithm and C language function suite, on the basis of the first edition was revised and expanded. The book includes the past few years, many of the new algorithm. Topics are divided into the numerical and non- numerical calculation of two parts. These numerical part of the contents include : linear algebraic equations by solving the matrix computation, Matrix eigenvalues and eigenvectors of computing, nonlinear equations and solve equations, interpolation, numerical integration, ordinary differential equations (Group I) solution, fitting and approximation, data processing and back In analysis, optimization, mathematical transformation and filtering, specia
    2022-07-13 21:31:09下载
    积分:1
  • 这是Badming写的一些关于AI的c++代码,他认为现代的脚本语言实际上是未来Ai的前身。当代码复杂到一定程度,程序给人类的反应,人类已经分不清是不是死的代码...
    这是Badming写的一些关于AI的c++代码,他认为现代的脚本语言实际上是未来Ai的前身。当代码复杂到一定程度,程序给人类的反应,人类已经分不清是不是死的代码或是真的有意识产生了。-This is a Badming written about AI in c++ code, he thinks of modern scripting language is actually the predecessor of the future of Ai. When the code is complex and to a certain extent, the program" s response to mankind, mankind has not distinguish the code is not dead, or really awareness created.
    2022-02-02 10:04:27下载
    积分:1
  • 2^k进制数
    设r是个2^k 进制数,并满足以下条件: (1)r至少是个2位的2^k 进制数。 (2)作为2^k进制数,除最后一位外,r的每一位严格小于它右边相邻的那一位。 (3)将r转换为2进制数q后,则q的总位数不超过w。 在这里,正整数k(1≤k≤9)和w(k<W≤30000)是事先给定的。 问:满足上述条件的不同的r共有多少个? 我们再从另一角度作些解释:设S是长度为w 的01字符串(即字符串S由w个“0”或“1”m组成),S对应于上述条件(3)中的q。将S从右起划分为若干个长度为k 的段,每段对应一位2k进制的数,如果S至少可分成2段,则S所对应的二进制数又可以转换为上述的2k 进制数r。 例:设k=3,w=7。则r是个八进制数(23=8)。由于w=7,长度为7的01字符串按3位一段分,可分为3段(即1,3,3,左边第一段只有一个二进制位),则满足条件的八进制数有: 2位数:高位为1:6个(即12,13,14,15,16,17),高位为2:5个,…,高位为6:1个(即67)。共6+5+…+1=21个。 3位数:高位只能是1,第2位为2:5个(即123,124,125,126,127),第2位为3:4个,…,第2位为6:1个(即167)。共5+4+…+1=15个。 所以,满足要求的r共有36个。
    2023-04-14 17:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载