EPA: Testing bigger graph
This commit is contained in:
parent
c14af4fe93
commit
78741ee7aa
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#define N 3
|
||||
#define N 5
|
||||
|
||||
typedef int Mat[N*N];
|
||||
|
||||
|
@ -26,9 +26,11 @@ int warshall(int old, int ik, int kj) {
|
|||
int main( int argc, char *argv[] ) {
|
||||
Mat C =
|
||||
{
|
||||
0 , 0 , 0 ,
|
||||
1 , 0 , 0 ,
|
||||
0 , 1 , 0
|
||||
0 , 1 , 0 , 0 , 0,
|
||||
0 , 0 , 1 , 0 , 0,
|
||||
0 , 0 , 0 , 0 , 0,
|
||||
1 , 0 , 0 , 0 , 0,
|
||||
0 , 0 , 0 , 1 , 0,
|
||||
};
|
||||
|
||||
matiter(C, *warshall);
|
||||
|
|
Loading…
Reference in a new issue