www.pudn.com > anttsp.rar > calc_info.m, change:2008-04-20,size:264b


function choice_info=calc_info(pher_effe_rate,heur_effe_rate,pher,dist) 
%计算信息素与启发式信息联合矩阵 
choice_info=(pher.^pher_effe_rate).*(dist.\1).^ heur_effe_rate;      
choice_info= triu(choice_info,1)+tril(choice_info,-1);          %设置choice_info(i,i)==0