-
Notifications
You must be signed in to change notification settings - Fork 2
/
update_all.sh
44 lines (37 loc) · 1.7 KB
/
update_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Generate the data
python strategy_visualizations.py -d &
python strategy_visualizations.py -d -n 0.05 &
wait
# Strategy Visualizations
echo "Cooperation Visualizations, no noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.00 -f c &
echo "Opponent Cooperation Visualizations, no noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.00 -f oc &
echo "Score Visualizations, no noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.00 -f s &
echo "Score Difference Visualizations, no noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.00 -f sd &
wait
# Strategy Visualizations with Noise
echo "Cooperation Visualizations, 0.05 noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.05 -f c &
echo "Opponent Cooperation Visualizations, 0.05 noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.05 -f oc &
echo "Score Visualizations, 0.05 noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.05 -f s &
echo "Score Difference Visualizations, 0.05 noise (in background process)"
python strategy_visualizations.py -t 200 -r 100 -n 0.05 -f sd &
wait
# Noise-free Tournaments
echo "Small tournaments, no noise"
python example_tournaments.py -t 200 -r 100 -n 0.00 -p 4
echo "All strategies, no noise"
python example_tournaments.py -t 200 -r 100 -n 0.00 -p 4 -a
# Noisy Tournaments
echo "Small tournaments, 0.05 noise"
python example_tournaments.py -t 200 -r 100 -n 0.05 -p 4
echo "All strategies, 0.05 noise"
python example_tournaments.py -t 200 -r 100 -n 0.05 -p 4 -a
wait
python render_templates.py
echo "All tasks complete"