-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
34 lines (26 loc) · 956 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""Main Module of AE_SMT Framework
"""
import matplotlib
matplotlib.use('Agg')
from src.utils.objectCreator import objectCreator, getAlgorithms, getDatasets, getSmts, getResults
from src.utils.experimentSettings import ExperimentSettings
from src.utils.executeExperiments import executeExperiments
def main():
if __name__ == '__main__':
settings = getExperimentSettings()
objects = getExperimentObjects(settings.seed)
executeExperiments(settings, objects)
def getExperimentSettings():
settings = ExperimentSettings()
settings.testName = 'MyTestName'
settings.description = ''
settings.experimentScope = 'ae_smt'
settings.resultFolders = None
return settings
def getExperimentObjects(seed):
algorithms = getAlgorithms(seed)
datasets = getDatasets(seed)
smts = getSmts()
results = getResults()
return algorithms, datasets, smts, results
main()