buildParamsToken

fun buildParamsToken(datasetName: String, correlationMethod: String, numberOfTopics: Int, numberOfSystems: Int, populationSize: Int, numberOfIterations: Int, numberOfRepetitions: Int, expansionCoefficient: Int, includePercentiles: Boolean, percentiles: List<Int>): String

Builds the parameter token used in filenames and containers (without timestamp and target).

Shape:

<dataset>-<correlation>-top<T>-sys<S>-po<P>-i<I>-r<R>-mx<M>[ -peA_B ]

where:

  • top<T>: number of topics (optional, included only if > 0)

  • sys<S>: number of systems (optional)

  • po<P>: population size (optional)

  • i<I>: number of iterations (optional)

  • r<R>: number of repetitions (optional)

  • mx<M>: expansion coefficient (optional)

  • peA_B: percentile range (first–last), included only if includePercentiles is true and the list is non-empty

Return

A deterministic token without timestamp and target.

Parameters

datasetName

Dataset identifier (already human-readable).

correlationMethod

Correlation key (e.g., Pearson, Kendall).

numberOfTopics

Number of topics (top<T>), included if > 0.

numberOfSystems

Number of systems (sys<S>), included if > 0.

populationSize

Population size (po<P>), included if > 0.

numberOfIterations

Iterations (i<I>), included if > 0.

numberOfRepetitions

Repetitions (r<R>), included if > 0.

expansionCoefficient

Expansion coefficient (mx<M>), included if > 0.

includePercentiles

If true and percentiles is non-empty, appends peA_B using the first and last values.

percentiles

Ordered list of percentiles; only the first and last are used in the token.

Samples