Actions
Task #2852
closedImplement experiment manager
Start date:
06/05/2015
Due date:
% Done:
100%
Estimated time:
Description
Each experiment should be registered with an ExperimentManager for lookup and initialization.
Instead of adding a new boolean for each test type, there should be an "--experiment $arg" parameter. The ExperimentManager can look up the $arg in a map containing the corresponding experiment and instantiate it.
e.g.)
experiments = {}
if experiment is not None:
if experiment in experiments:
constructor = experiments[experiment]
test = constructor(...)
test.start()
else:
ERROR
Actions