#!/bin/bash
+# Run the first block or the second one. Not both in one run as the blocks
+# overwrite *{error,time,cost}* stats files.
+
bash scripts/generate_grid_based_stats.sh '0.1'
bash scripts/generate_grid_based_plots.sh '0.1' ''
sed -i 's/0.1 m grid/0.2 m grid/' scripts/*{error,time,cost}*
sed -i 's/0.5 m grid/1 m grid/' scripts/*{error,time,cost}*
bash scripts/generate_grid_based_stats.sh '1'
bash scripts/generate_grid_based_plots.sh '1' ''
-sed -i 's/1 m grid/0.1 m grid, path opt./' scripts/*{error,time,cost}*
+sed -i 's/1 m grid/0.1 m grid/' scripts/*{error,time,cost}*
-bash scripts/generate_grid_based_stats.sh '0.1'
+bash scripts/generate_grid_based_stats_po.sh '0.1'
bash scripts/generate_grid_based_plots.sh '0.1' ''
sed -i 's/0.1 m grid/0.2 m grid/' scripts/*{error,time,cost}*
-bash scripts/generate_grid_based_stats.sh '0.2'
+bash scripts/generate_grid_based_stats_po.sh '0.2'
bash scripts/generate_grid_based_plots.sh '0.2' ''
sed -i 's/0.2 m grid/0.5 m grid/' scripts/*{error,time,cost}*
-bash scripts/generate_grid_based_stats.sh '0.5'
+bash scripts/generate_grid_based_stats_po.sh '0.5'
bash scripts/generate_grid_based_plots.sh '0.5' ''
sed -i 's/0.5 m grid/1 m grid/' scripts/*{error,time,cost}*
-bash scripts/generate_grid_based_stats.sh '1'
+bash scripts/generate_grid_based_stats_po.sh '1'
bash scripts/generate_grid_based_plots.sh '1' ''
-sed -i 's/1 m grid, path opt./0.1 m grid/' scripts/*{error,time,cost}*
+sed -i 's/1 m grid/0.1 m grid/' scripts/*{error,time,cost}*