说明: 该算法为用结构体写的图算法,typedef struct groph { int data; struct groph * next; }Groph; bool IsEmpty (groph *p) { if(p==NULL) return true ; else return false; } void DESearch(Groph *,Groph *&,int&,bool[]); void BFSearch(Groph *,int,int,int &,bool[]); void main(
<yuandekai> 上传 | 大小:3kb