Program

object Program

Main program entry point for NewBestSub.

Responsibilities:

  • Parse CLI arguments and validate them.

  • Initialize logging: bootstrap log → parameterized log.

  • Load dataset and build parameter tokens.

  • Manage deterministic seeding via RandomBridge.

  • Run experiments according to the target:

  • Best, Worst: NSGA-II evolutionary optimization.

  • Average: percentile-based evaluation.

  • All: combined execution of Best/Worst + Average.

  • Handle expansions (--expt, --exps) and multi-run merging (--mrg).

  • Optionally copy results into NewBestSub-Experiments/.

  • Catch and log errors (CLI, FS, jMetal, OOM) with hints.

Functions

Link copied to clipboard
fun loadCommandLineOptions(): Options

Build and return the complete set of CLI options.

Link copied to clipboard
fun main(arguments: Array<String>)

Main entry point for the program.