弗洛伊德算法 C++ 运行环境:Visual Studio 2005 #include using namespace std; class FLOYD { private: int Num; double **D; bool ***P; int INFINITY; public: FLOYD(double **aa,int num) { D=aa; Num=num; INFINITY=8888; P=new bool **[Num]; for(int v=0;v