@@ -44,6 +44,12 @@ import tools.aqua.stars.core.types.*
44
44
* @param S [SegmentType].
45
45
* @param U [TickUnit].
46
46
* @param D [TickDifference].
47
+ * @param writeSerializedResults (Default: ``true``) Whether to write result files and compare them
48
+ * to previous runs after the analysis.
49
+ * @param compareToGroundTruth (Default: ``false``) Whether to compare the results to the ground
50
+ * truth.
51
+ * @param compareToPreviousRun (Default: ``false``) Whether to compare the results to the previous
52
+ * run.
47
53
* @property tscList The list of [TSC]s to evaluate.
48
54
* @property writePlots (Default: ``true``) Whether to write plots after the analysis.
49
55
* @property writePlotDataCSV (Default: ``false``) Whether to write CSV files after the analysis.
@@ -58,6 +64,9 @@ class TSCEvaluation<
58
64
val tscList: List <TSC <E , T , S , U , D >>,
59
65
val writePlots: Boolean = true ,
60
66
val writePlotDataCSV: Boolean = false ,
67
+ val writeSerializedResults: Boolean = true ,
68
+ val compareToGroundTruth: Boolean = false ,
69
+ val compareToPreviousRun: Boolean = false ,
61
70
override val logger: Logger = Loggable .getLogger(" evaluation-time" )
62
71
) : Loggable {
63
72
@@ -201,22 +210,8 @@ class TSCEvaluation<
201
210
* [MetricProvider].
202
211
*
203
212
* @param segments The [Sequence] of [SegmentType]s to evaluate.
204
- * @param writeSerializedResults (Default: ``true``) Whether to write result files and compare
205
- * them to previous runs after the analysis.
206
- * @param compareToGroundTruth (Default: ``false``) Whether to compare the results to the ground
207
- * truth.
208
- * @param compareToPreviousRun (Default: ``false``) Whether to compare the results to the previous
209
- * run.
210
213
* @throws IllegalArgumentException When there are no [MetricProvider]s registered.
211
214
*/
212
- fun runEvaluation (
213
- writePlots : Boolean = true,
214
- writePlotDataCSV : Boolean = false,
215
- writeSerializedResults : Boolean = true,
216
- compareToGroundTruth : Boolean = false,
217
- compareToPreviousRun : Boolean = false,
218
- ) {
219
- require(metricProviders.any()) { " There needs to be at least one registered MetricProviders." }
220
215
fun runEvaluation (segments : Sequence <S >) {
221
216
require(metricProviders.any()) { " There needs to be at least one registered MetricProvider." }
222
217
0 commit comments