public BenchmarkJob(IGeneratorRunner generatorRunner, string inputName, int repeats = 10, double earlyStopThreshold = 0) { this.generatorRunner = generatorRunner; this.inputName = inputName; this.repeats = repeats; this.earlyStopThreshold = earlyStopThreshold; }
public TempestRunner(IGeneratorRunner generatorRunner, IDirectoryFinder directoryFinder, IGeneratorFinder generatorFinder) { if (generatorRunner == null) { throw new ArgumentNullException(nameof(generatorRunner)); } if (directoryFinder == null) { throw new ArgumentNullException(nameof(directoryFinder)); } if (generatorFinder == null) { throw new ArgumentNullException(nameof(generatorFinder)); } _generatorRunner = generatorRunner; _directoryFinder = directoryFinder; _generatorFinder = generatorFinder; }
public EarlyStoppingGeneratorRunner(IGeneratorRunner runner, double averageIterationsBaseline, GeneratorRunCreator generatorRunCreator) { this.runner = runner; this.averageIterationsBaseline = averageIterationsBaseline; this.generatorRunCreator = generatorRunCreator; }