function [point,dij]=floyd(n,i,j,d)
%求最短距离,point为在最短路径上的点(1表示该点在最短路上,0则不是)
%dij为最短距离
%n为输入的点的个数,i,j为第i个点到第j个点,d为权重矩阵(距离矩阵)
time=log(n-1)/log(2);
time=round(time)+1;
for cishu=1:time
d=fld(n,d);
end
[ci,cj,dij]=stlin(n,i,j,d);
point=(ci==cj);