精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
I have been going through this application and have some questions:
我彻底分析了此应用程序,不过还有一些问题:
1) What is the max tests over here?
什么是最大测试呢?
2) Does max test depends on any value or it is just randomly selected最大测试取决于任何一个待定值,还是只是随机选择值
3) How and when Aplha and beta are applied?如何以及何时应用Aplha和β测试?
4) Are alpha and beta applied to all ants at once?α和β马上应用到所有蚁群吗?
please reply
请答复
1.There is no max test. There is min-max ant colony algorithm. It puts minimal and maximal limits on amount of pheromone to be deposited on ant's trail. Please read description of this algorithm (and all others implemented) in this article.
1。不是最大测试,是min-max蚁群算法。它将最小和最大数量限制关联上蚂蚁踪迹之上信息素的数量。请在本文中阅读这个算法的描述。
2.Alpha and beta are applied to select the path for the next ant's step (see formula (1) in this article). In this code alpha and beta are the same for all ants and all edges of the problem's graph.α和β应用于未来蚂蚁选择路径的步骤(参见本文公式(1))。在这段代码中α和β是相同的所有蚂蚁和所有的边缘问题的图。
To understand this application you have to read the accompanying article. Does your computer display all formulas appropriately?
了解这个应用程序,你必须读这篇文章。你的电脑显示所有适当的公式吗?
I am using Ant COlony Algorithm
我用蚁群算法
1) For "Max test"case I am talking about the option that your provided in the application which ranges from 1000-10000. Does it need to be in any ratio with the number of cities?在使用“最大测试”的情况下,你在应用程序提供从1000-10000不等的选项。是否需要知道城市数量的比例是多少?
2) And For beta I am little confused, what actually beta is. Going through the article I have understood that it is the distance between two cities. If so , then how can we apply a constant value which apply for all the cities.我不明白实际上β是什么。通过这篇文章我已经明白这是两个城市之间的距离。如果是这样,那么我们如何施加一个恒定值,适用于所有的城市。
3) Also I am confused about the chart that is generated when I select View chart. What is Y in that chart. I have understood the X that it is the iteration.我也困惑当我选择视图生成图表时社么是Y的图表。我已经明白了X迭代。
1.I think I have explained how to run a test with as many iterations as you wish. You can set the number of tests or repeat the selected number of max tests by clicking the Run button again when the test run is completed. The results will accumulate.我想我已经解释了如何运行和测试尽可能多的迭代。你可以设置测试的数量或在运行完成时通过单击运行按钮再次测试,重复选择数量。将结果积累。
2.The Beta is a formal parameter, power to raise heuristic value Eta used in calculations to choose next graph edge for an ant. The Beta is just a number. The Eta might be what a researcher want. Most take the Eta as inverse of the length of the edge they β是一个正式的参数,功率提高启发式值η用于计算为一只蚂蚁选择下一个图形边缘。β是一个数字。η可能是研究员需要的。大多数以η为逆边缘的长度
3.Before you run the test you have to select statistics you wish to gather. After some number of iterations you can see charts of statistics you have selected. On the charts the X coordinate is an epoch (with one exclusion for cities coverage.) The Y coord. 在你运行测试之前,你必须选择你想收集的统计数据。然后你可以看到您所选择的图的迭代次数的统计。在图表上,X坐标和Y坐标对比来看,X坐标是一个时代差距(一个对覆盖城市的排斥。)
All these things are explained in great details in the article. Please read it
所有这些问题都在本文解释的细节中,请阅读文章