Commit 875102da authored by Mario Teixeira Parente's avatar Mario Teixeira Parente
Browse files

Merge remote-tracking branch 'base/main' into main

parents b350a5b9 9cf38370
...@@ -27,7 +27,9 @@ folder_approach_id = f"{approach.id:03}" ...@@ -27,7 +27,9 @@ folder_approach_id = f"{approach.id:03}"
folder_test_cases = "tas/test_cases" folder_test_cases = "tas/test_cases"
make_dirs_if_not_exist(folder_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) make_dirs_if_not_exist(folder_experiments)
folder_results_base = f"tas/results" folder_results_base = f"tas/results"
...@@ -44,8 +46,9 @@ cost_measures: list[CostMeasure] ...@@ -44,8 +46,9 @@ cost_measures: list[CostMeasure]
cost_measures = [CostMeasureCountingTime() + CostMeasureByMetric(metric)] cost_measures = [CostMeasureCountingTime() + CostMeasureByMetric(metric)]
## ##
## Benefit measure ## ## Benefit measure ##
def interpolator(experiment: TASExperiment) -> function: def interpolator(experiment: TASExperiment) -> function:
return normalized_linear_interpolator( return normalized_linear_interpolator(
xs=experiment.locations, fs=experiment.intensities) 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