# main module¶

Script to load the config, run the simulations, and plot them.

main.USE_PICKLE = False

Should we save the Evaluator object to a .pickle file at the end of the simulation?

main.USE_HD5 = True

Should we save the data to a .hdf5 file at the end of the simulation?

main.PLOT_DIR = 'plots'

Directory for the plots

main.semilogx = False

Plot in semilogx by default?

main.semilogy = False

Plot in semilogy by default?

main.loglog = False

Plot in loglog by default?

main.meanReward = True

Plot mean regret ?

main.normalizedRegret = True

Plot instantaneous regret?

main.plotSTD = False

Plot regret with a STD?

main.plotMaxMin = False

Plot +- max - min (amplitude) for regret.

main.finalRanksOnAverage = True

Use an average instead of the last value for the final ranking of the tested policies

main.averageOn = 0.01

Average the final rank on the 1% last time steps

main.do_plots = True

Whether to do the plots or not

main.interactive = False

Whether to show plots, one by one, or not at all and just save them

main.debug_memory = False

Debug the memory consumption? Using Environment.memory_consumption.display_top_tracemalloc().

main.saveallfigs = True

Save all the figures ?