Last active
August 29, 2015 14:01
-
-
Save dd1994/b648622389041d1ab5af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define MaxVertices 100 | |
typedef struct{ | |
int vertices[MaxVertices]; | |
int edge[Maxvertices]; | |
int numV; | |
int numE; | |
}adjMatrix; | |
void createGraph(adjMatrix &G, int n, int E) | |
{ | |
//建立图的邻接矩阵 | |
} | |
void dispGraph(adjMatrix G) | |
{ | |
//输出图的邻接矩阵 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment