This commit is contained in:
martin 2024-01-31 11:39:59 +01:00
parent 386f1b5def
commit 6d78eb36bd
2 changed files with 4 additions and 5 deletions

1
.gitignore vendored
View File

@ -159,4 +159,3 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear # and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/

View File

@ -1266,11 +1266,11 @@ class Draw_Simulator:
funcs = [ funcs = [
# Draw_Simulator.groups_6_4, # Draw_Simulator.groups_6_4,
# Draw_Simulator.groups_3_8, # Draw_Simulator.groups_3_8,
Draw_Simulator.groups_2_12_martin, # Draw_Simulator.groups_2_12_martin,
# Draw_Simulator.groups_2_12_stephan, # Draw_Simulator.groups_2_12_stephan,
Draw_Simulator.groups_1_24_martin, Draw_Simulator.groups_1_24_martin,
# Draw_Simulator.groups_1_24_stephan, # Draw_Simulator.groups_1_24_stephan,
Draw_Simulator.groups_3_8_stephan, # Draw_Simulator.groups_3_8_stephan,
] ]
@ -1281,8 +1281,8 @@ Scenario.objects.filter(base_scenario=scenario).delete()
stats = {} stats = {}
for func in funcs: for func in funcs:
simulator = Draw_Simulator(algorithm='XP', opponent_func = func, html_output=False,use_db=True) simulator = Draw_Simulator(algorithm='XP', opponent_func = func, html_output=True,use_db=True)
nSim = 2 nSim = 4
stats[func.__name__] = simulator.simulate(nSim) stats[func.__name__] = simulator.simulate(nSim)