Commit b2aa4205 authored by Maxime's avatar Maxime
Browse files

refactor code to make it prettier

parent 0a43c77d
......@@ -14,6 +14,7 @@ t_graphe lecture_fichier(string nom_fichier)
int temps;
t_graphe graph;
monflux >> graph.supposedBestSolution;
monflux >> nb_pieces;
monflux >> nb_machines;
......
......@@ -10,6 +10,7 @@ typedef struct t_graph
{
int nb_pieces;
int nb_machines;
int supposedBestSolution;
int mach[nbmax][nbmax];
int d[nbmax][nbmax];
......
10 5
666 10 5
1 21 0 53 4 95 3 55 2 34
0 21 3 52 4 16 2 26 1 71
3 39 4 98 1 42 2 31 0 12
......
10 5
655 10 5
0 20 3 87 1 31 4 76 2 17
4 25 2 32 0 24 1 18 3 81
1 72 2 23 4 28 0 58 3 99
......
10 5
597 10 5
1 23 2 45 0 82 4 84 3 38
2 21 1 29 0 18 4 41 3 50
2 38 3 54 4 16 0 52 1 52
......
10 5
590 10 5
0 12 2 94 3 92 4 91 1 7
1 19 3 11 4 66 2 21 0 87
1 14 0 75 3 13 4 16 2 20
......
10 5
593 10 5
1 72 0 87 4 95 2 66 3 60
4 5 3 35 0 48 2 39 1 54
1 46 3 20 2 21 0 97 4 55
......
15 5
926 15 5
1 21 2 34 4 95 0 53 3 55
3 52 4 16 1 71 2 26 0 21
2 31 0 12 1 42 3 39 4 98
......
15 5
890 15 5
0 47 4 57 1 71 3 96 2 14
0 75 1 60 4 22 3 79 2 65
3 32 0 33 2 69 1 31 4 58
......
15 5
863 15 5
3 92 2 94 0 12 4 91 1 7
2 21 1 19 0 87 3 11 4 66
1 14 3 13 0 75 4 16 2 20
......
15 5
951 15 5
1 66 3 85 2 84 0 62 4 19
3 59 1 64 2 46 4 13 0 25
4 88 3 80 1 73 2 53 0 41
......
15 5
958 15 5
1 58 2 44 3 5 0 9 4 58
1 89 0 97 4 96 3 77 2 84
0 77 1 87 2 81 4 39 3 85
......
20 5
1222 20 5
2 34 1 21 0 53 3 55 4 95
0 21 3 52 1 71 4 16 2 26
0 12 1 42 2 31 4 98 3 39
......
20 5
1039 20 5
1 23 0 82 4 84 2 45 3 38
3 50 4 41 1 29 0 18 2 21
4 16 3 54 1 52 2 38 0 52
......
20 5
1150 20 5
3 60 0 87 1 72 4 95 2 66
1 54 0 48 2 39 3 35 4 5
3 20 1 46 0 97 2 21 4 55
......
20 5
1292 20 5
3 5 4 58 2 44 0 9 1 58
1 89 4 96 0 97 2 84 3 77
2 81 3 85 1 87 4 39 0 77
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment