Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AINX
base-ariane-fork
Commits
875102da
Commit
875102da
authored
May 18, 2022
by
Mario Teixeira Parente
Browse files
Merge remote-tracking branch 'base/main' into main
parents
b350a5b9
9cf38370
Changes
1
Hide whitespace changes
Inline
Side-by-side
tas/setting.py
View file @
875102da
...
...
@@ -27,7 +27,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"
...
...
@@ -44,8 +46,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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment