Parameters

data class Parameters(val datasetName: String, val correlationMethod: String, val targetToAchieve: String, val numberOfIterations: Int, val numberOfRepetitions: Int, val populationSize: Int, val currentExecution: Int, val percentiles: List<Int>, val deterministic: Boolean = false, val seed: Long? = null)

Parameters

==========

Centralized container for all runtime settings that control a single execution of NewBestSub.

Deterministic mode

  • Set deterministic = true to request a reproducible run.

  • Provide seed to fix the master seed explicitly.

  • If seed is null and deterministic is true, a stable seed can be derived externally (e.g., via Tools.stableSeedFrom(Parameters)).

Backward compatibility

  • New fields (deterministic, seed) were appended with default values, so positional constructor calls compiled against previous signatures continue to work unchanged.

Constructors

Link copied to clipboard
constructor(datasetName: String, correlationMethod: String, targetToAchieve: String, numberOfIterations: Int, numberOfRepetitions: Int, populationSize: Int, currentExecution: Int, percentiles: List<Int>, deterministic: Boolean = false, seed: Long? = null)

Properties

Link copied to clipboard

Correlation function key (e.g., "kendall", "spearman", "pearson").

Link copied to clipboard

Execution index/counter used for output naming and logging.

Link copied to clipboard

Dataset identifier (e.g., collection name or tag).

Link copied to clipboard
val deterministic: Boolean = false

If true, force reproducible behavior (single master RNG, stable ordering).

Link copied to clipboard

Number of NSGA-II iterations (generations) per repetition.

Link copied to clipboard

Number of independent solver repetitions with different seeds (unless deterministic).

Link copied to clipboard

Percentiles to compute/export for summaries (e.g., [5, 50, 95]).

Link copied to clipboard

Population size for the evolutionary search.

Link copied to clipboard
val seed: Long? = null

Optional explicit master seed; null ⇒ derive from params when deterministic.

Link copied to clipboard

Run target: one of BEST, WORST, or AVERAGE (see Constants).