概述
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代码,蚁群算法路径规划MATLAB程序所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复