EPA: Testing bigger graph

This commit is contained in:
madmaurice 2016-02-23 12:14:24 +01:00
parent c14af4fe93
commit 78741ee7aa

View file

@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
#define N 3 #define N 5
typedef int Mat[N*N]; typedef int Mat[N*N];
@ -26,9 +26,11 @@ int warshall(int old, int ik, int kj) {
int main( int argc, char *argv[] ) { int main( int argc, char *argv[] ) {
Mat C = Mat C =
{ {
0 , 0 , 0 , 0 , 1 , 0 , 0 , 0,
1 , 0 , 0 , 0 , 0 , 1 , 0 , 0,
0 , 1 , 0 0 , 0 , 0 , 0 , 0,
1 , 0 , 0 , 0 , 0,
0 , 0 , 0 , 1 , 0,
}; };
matiter(C, *warshall); matiter(C, *warshall);