"""Runs one simulation on a set of input parameters.
Returns
-------
dict
Result of the simulation.
"""
return
"""Collects the results of the workers and performs postprocessing.
Parameters
----------
results : list[dict]
Results from each simulation
Returns
-------
dict
Final result
"""
= 0
=
assert in
assert in
+=
return