relative paths

This commit is contained in:
Remi Ehounou
2021-05-03 18:35:36 -04:00
parent b8ae2e0f5f
commit 9b39b73fca

View File

@ -231,16 +231,16 @@ def doe(heuristicpath, heuristic_name, testfunctionpaths, funcnames, objs, args,
for process in proc: print(process.name + "____\n" + str(responses[process.name]) + "\n_________________") for process in proc: print(process.name + "____\n" + str(responses[process.name]) + "\n_________________")
if __name__ == '__main__': if __name__ == '__main__':
heuristicpath = "/home/remi/Documents/MDAF-GitLAB/SourceCode/SampleAlgorithms/SimmulatedAnnealing.py" heuristicpath = "SampleAlgorithms/SimmulatedAnnealing.py"
heuristic_name = "SimmulatedAnnealing" heuristic_name = "SimmulatedAnnealing"
testfunctionpaths = ["/home/remi/Documents/MDAF-GitLAB/SourceCode/TestFunctions/Bukin2.py", "/home/remi/Documents/MDAF-GitLAB/SourceCode/TestFunctions/Bukin4.py", "/home/remi/Documents/MDAF-GitLAB/SourceCode/TestFunctions/Brown.py"] testfunctionpaths = ["TestFunctions/Bukin2.py", "TestFunctions/Bukin4.py", "TestFunctions/Brown.py"]
funcnames = ["Bukin2", "Bukin4", "Brown"] funcnames = ["Bukin2", "Bukin4", "Brown"]
# testfunctionpaths = ["/home/remi/Documents/MDAF-GitLAB/SourceCode/TestFunctions/Bukin4.py"] # testfunctionpaths = ["/home/remi/Documents/MDAF-GitLAB/SourceCode/TestFunctions/Bukin4.py"]
# funcnames = ["Bukin4"] # funcnames = ["Bukin4"]
objs = 0 objs = 0
args = {"high": 200, "low": -200, "t": 1000, "p": 0.95} args = {"high": 200, "low": -200, "t": 1000, "p": 0.95}
scale = 2.5 scale = 1
doe (heuristicpath, heuristic_name, testfunctionpaths, funcnames, objs, args, scale) doe (heuristicpath, heuristic_name, testfunctionpaths, funcnames, objs, args, scale)