我是靠谱客的博主 光亮蛋挞,这篇文章主要介绍路径规划蚁群算法matlab代码,蚁群算法路径规划MATLAB程序,现在分享给大家,希望可以做个参考。

function [ROUTES,PL,Tau]=ACASP(G,Tau,K,M,S,E,Alpha,Beta,Rho,Q)

%% ---------------------------------------------------------------

% ACASP.m

% ACS for Path Planning

%% ---------------------------------------------------------------

% input parameters

% G gragh, which is 01 matrix, 1 represents obstcles

% Tau initial pheromone matrix

% K iterative times

% M ant number for once iteration

% S Start Point

% E Goal point

% Alpha parameter indicates the importance of pheromone

% Beta parameter indicates the importance of visibility

% Rho pheromone evaporation rate

% Q pheromone accumulation parameter

%

% output parameters

% ROUTES the route that every ant in every iteration

% passes

% PL the length that every ant in every iteration

% passes

% Tau output update

最后

以上就是光亮蛋挞最近收集整理的关于路径规划蚁群算法matlab代码,蚁群算法路径规划MATLAB程序的全部内容,更多相关路径规划蚁群算法matlab代码内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(126)

评论列表共有 0 条评论

立即
投稿
返回
顶部