Skip to content

Commit

Permalink
Minor fixes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ppolesiuk committed May 3, 2020
1 parent 4a9a2a1 commit 107f9d8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ below.
```
$ ./trust \
-o stat.dat \
-i img_ \
-x a_ \
-b 64x64 \
-m 0.03 \
-d -a -A \
-s 20 \
-t 50 \
-i img_ \
-x a_ \
-b 64x64 \
-m 0.03 \
-d -a -A \
-s 20 \
-t 50 \
```

- `-o stat.dat` specifies the name of the file, where the average final score
Expand All @@ -62,12 +62,12 @@ $ ./trust \
a PNG image (automatons are placed on 2D plane). In this example such images
would have names `img_0.png`, `img_10.png`, `img_20.png`, ... (the number in
the file name is the number of simulation steps). You can generate a movie
from those file using, e.g., `ffmpeg`:
from those files using, e.g., `ffmpeg`:
```
$ ffmpeg -f image2 -i img_%d0.png movie.mp4
```

- `-x a_`, specifies names of files, where randomly picked automatons will be
- `-x a_`, specifies names of files, where randomly picked automata will be
saved as Graphviz script. In this example they would be saves as `a_0.gv`,
`a_200.gv`, `a_400.gv`, ... `draw_automaton.sh` script can transform them to
PNG images using Graphviz.
Expand Down

0 comments on commit 107f9d8

Please sign in to comment.