Skip to content
Snippets Groups Projects
Commit 7df2e636 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

Merge branch 'feature/151-introduce-benchmark-class' of...

Merge branch 'feature/151-introduce-benchmark-class' of git.se.informatik.uni-kiel.de:stu200776/spesb into feature/151-introduce-benchmark-class
parents 897f7da3 8b41b6ce
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!85Introduce new Benchmark class and Patcher,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
...@@ -15,7 +15,7 @@ class StrategiesManager { ...@@ -15,7 +15,7 @@ class StrategiesManager {
return when (searchStrategyString) { return when (searchStrategyString) {
"LinearSearch" -> LinearSearch(executor) "LinearSearch" -> LinearSearch(executor)
"BinarySearch" -> BinarySearch(executor) "BinarySearch" -> BinarySearch(executor)
else -> throw IllegalArgumentException("Search Strategy $searchStrategyString not found") else -> throw IllegalArgumentException("Search Strategy $searchStrategyString not found")
} }
} }
...@@ -24,7 +24,7 @@ class StrategiesManager { ...@@ -24,7 +24,7 @@ class StrategiesManager {
.map { restriction -> .map { restriction ->
when (restriction) { when (restriction) {
"LowerBound" -> LowerBoundRestriction(results) "LowerBound" -> LowerBoundRestriction(results)
else -> throw IllegalArgumentException("Restriction Strategy $restrictionStrings not found") else -> throw IllegalArgumentException("Restriction Strategy $restrictionStrings not found")
} }
}.toSet() }.toSet()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment