Constants

object Constants

Global constants and immutable configuration values for NewBestSub.

This object centralizes filesystem paths, naming conventions, evaluation modes, correlation methods, and various configuration parameters used across the project.

Conventions:

Properties

Link copied to clipboard

Suffix for aggregated data files.

Link copied to clipboard

Parent directory of the current working directory (absolute).

Link copied to clipboard

Placeholder for unavailable cardinality values.

Link copied to clipboard

Kendall correlation identifier.

Link copied to clipboard

Pearson correlation identifier.

Link copied to clipboard

File extension for CSV outputs.

Link copied to clipboard

Separator used in file names (typically "-").

Link copied to clipboard

Suffix used for function values files.

Link copied to clipboard
const val GENERATION_STRIDE: Int = 5

Generation stride: after the warm-up, stream/log every N-th generation.

Link copied to clipboard
const val GENERATION_WARMUP: Int = 20

Generation warm-up: number of generations to skip completely before streaming begins.

Link copied to clipboard

Suffix for run info files.

Link copied to clipboard

Base filename (prefix) for execution logs.

Link copied to clipboard

Log file extension.

Link copied to clipboard
const val LOGGING_FACTOR: Int = 1

Controls logging frequency (in percentage milestones).

Link copied to clipboard

Suffix for merged result files.

Link copied to clipboard

Path for experiment inputs: <experiments>/data/NewBestSub/<RUN_TIMESTAMP>.

Link copied to clipboard

Base name of the experiments folder.

Link copied to clipboard

Absolute path to the experiments folder (<base>/<NewBestSub-Experiments>/).

Link copied to clipboard

Default input directory under the project (<project>/data/).

Link copied to clipboard

Project name token: "NewBestSub".

Link copied to clipboard

Default output directory under the project (<project>/res/).

Link copied to clipboard

Absolute path to the current working directory (with trailing PATH_SEPARATOR).

Link copied to clipboard

System-dependent path separator (e.g., "/" on Unix, "\\" on Windows).

Link copied to clipboard

Single timestamp token for this run.

Link copied to clipboard
const val TARGET_ALL: String

Evaluation target: all available systems.

Link copied to clipboard

Evaluation target: average system subset.

Link copied to clipboard
const val TARGET_BEST: String

Evaluation target: best system subset.

Link copied to clipboard
const val TARGET_WORST: String

Evaluation target: worst system subset.

Link copied to clipboard

Suffix for top solutions files (Top-<N>-Solutions).

Link copied to clipboard
const val TOP_SOLUTIONS_NUMBER: Int = 10

Number of top solutions saved per run.

Link copied to clipboard

Suffix used for variable values files.