Skip to content

Commit f2c87b8

Browse files
authored
Update README.md
1 parent 19c92e5 commit f2c87b8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```python main.py [-h] [-i I] [-o O] [-n N] [-m M] [-e E] [-nep NEP] [-nsp NSP]
66
[-ngh NGH] [-max MAX] [-s S]
77

8-
opcjonalne argumenty:
8+
optional arguments:
99
-h, --help display help
1010
-i I, -input_file I input file path
1111
-o O, -output_file O output file path
@@ -18,3 +18,16 @@ opcjonalne argumenty:
1818
-max MAX, -iterations MAX number of iterations
1919
-s S, -save_solution S save solution to the output file? (true/false)
2020
```
21+
22+
# Example output
23+
```
24+
>python main.py -i files/me_at_the_zoo.in -max 500
25+
{0: [99, 1, 65, 19, 46, 16, 82, 5, 10], 1: [31, 1, 10, 6, 0, 5, 99, 16], 2: [48, 23, 62, 16, 4], 3: [0, 2, 16, 27, 10, 5, 4], 4: [10, 17, 0, 3, 81], 5: [37, 32, 8, 16, 10, 81,
26+
4], 6: [44, 0, 5, 4, 24, 16], 7: [5, 54, 1, 21, 27], 8: [21, 3, 4, 10, 13, 16], 9: [97, 1, 5, 10, 8, 16, 4]}
27+
-----------------------------
28+
Algorithm took: 21.93 s
29+
-----------------------------
30+
Achieved after iteration: 102
31+
-----------------------------
32+
Saved time: 411.33 s (score: 411332.74558721465)
33+
```

0 commit comments

Comments
 (0)