文件名称:Ant-colony-algorithm
介绍说明--下载内容来自于网络,使用问题请自行百度
蚁群算法解决TSP问题的MATLAB实现
出动m只蚂蚁,每只蚂蚁各随机选择一条路径,记为I=[1 2 3···m],长度记为long(I)
计算出每条路径的信息素浓度,记为P(I)=1/long(I),并进行归一化处理
重新出动m只蚂蚁,按如下规则选择路径:
每只蚂蚁都以一个概率p1选择新路径(路径随机);
未选择新路径的蚂蚁以概率P(I)选择路径I;
所有蚂蚁都以一个小概率p2对自己的路径进行局部变化;
更新所有路径,计算出每条路径的信息素浓度;
重复上述步骤,直至仅剩一条路径。
-Ant colony algorithm to solve TSP problems MATLAB realization
Dispatched m ants, ants randomly select a path for each, denoted I = [1 2 3 · · · m], length denoted as long (I)
Calculated pheromone each path, denoted as P (I) = 1/long (I), and the normalization processing
Re-dispatched m ants, select the path according to the following rules:
Each ant with a probability p1 choose a new path (path random)
Ants do not select a new path with probability P (I) choose the path I
All ants are in a small probability p2 locally on their own path to change
Update all paths, each path is calculated pheromone
Repeat the above steps until the remaining path.
出动m只蚂蚁,每只蚂蚁各随机选择一条路径,记为I=[1 2 3···m],长度记为long(I)
计算出每条路径的信息素浓度,记为P(I)=1/long(I),并进行归一化处理
重新出动m只蚂蚁,按如下规则选择路径:
每只蚂蚁都以一个概率p1选择新路径(路径随机);
未选择新路径的蚂蚁以概率P(I)选择路径I;
所有蚂蚁都以一个小概率p2对自己的路径进行局部变化;
更新所有路径,计算出每条路径的信息素浓度;
重复上述步骤,直至仅剩一条路径。
-Ant colony algorithm to solve TSP problems MATLAB realization
Dispatched m ants, ants randomly select a path for each, denoted I = [1 2 3 · · · m], length denoted as long (I)
Calculated pheromone each path, denoted as P (I) = 1/long (I), and the normalization processing
Re-dispatched m ants, select the path according to the following rules:
Each ant with a probability p1 choose a new path (path random)
Ants do not select a new path with probability P (I) choose the path I
All ants are in a small probability p2 locally on their own path to change
Update all paths, each path is calculated pheromone
Repeat the above steps until the remaining path.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
蚁群算法实现matlab实现/程序/citydata.m
蚁群算法实现matlab实现/程序/could.m
蚁群算法实现matlab实现/程序/exchange.m
蚁群算法实现matlab实现/程序/found.m
蚁群算法实现matlab实现/程序/main.m
蚁群算法实现matlab实现/程序/unit.m
蚁群算法实现matlab实现/程序/zhh.m
蚁群算法实现matlab实现/蚁群算法实现.doc
蚁群算法实现matlab实现/程序
蚁群算法实现matlab实现
蚁群算法实现matlab实现/程序/could.m
蚁群算法实现matlab实现/程序/exchange.m
蚁群算法实现matlab实现/程序/found.m
蚁群算法实现matlab实现/程序/main.m
蚁群算法实现matlab实现/程序/unit.m
蚁群算法实现matlab实现/程序/zhh.m
蚁群算法实现matlab实现/蚁群算法实现.doc
蚁群算法实现matlab实现/程序
蚁群算法实现matlab实现
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.