Commit 9cf38370 authored by Mario Teixeira Parente's avatar Mario Teixeira Parente
Browse files

tas/setting: refine variables for experiments folder

parent 81815628
......@@ -26,7 +26,9 @@ folder_approach_id = f"{approach.id:03}"
folder_test_cases = "tas/test_cases"
make_dirs_if_not_exist(folder_test_cases)
folder_experiments = f"tas/experiments/{folder_approach}/{folder_approach_id}"
folder_experiments_base = f"tas/experiments"
folder_experiments_approach = f"{folder_experiments_base}/{folder_approach}"
folder_experiments = f"{folder_experiments_approach}/{folder_approach_id}"
make_dirs_if_not_exist(folder_experiments)
folder_results_base = f"tas/results"
......@@ -43,8 +45,9 @@ cost_measures: list[CostMeasure]
cost_measures = [CostMeasureCountingTime() + CostMeasureByMetric(metric)]
##
## Benefit measure ##
def interpolator(experiment: TASExperiment) -> function:
return normalized_linear_interpolator(
xs=experiment.locations, fs=experiment.intensities)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment