#include #include #include #include #include "Graph.h" #include "GraphPrivate.h" bool **warshall(Graph g); int main(void) { Graph g = GraphRead(stdin); printf("Graph:\n"); GraphShow(g); bool **tc = warshall(g); for (int i = 0; i < g->nV; i++) { for (int j = 0; j < g->nV; j++) { printf("%d ", tc[i][j]); } printf("\n"); } GraphFree(g); if (tc != NULL) { // i.e., if warshall() has been implemented for (int i = 0; i < g->nV; i++) { free(tc[i]); } free(tc); } } bool **warshall(Graph g) { return NULL; }