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代码内容请搜索靠谱客的其他文章。
发表评论 取消回复