public CptStageProvider(CptExperiment.Configuration.TestConfig testConfig) : base(true) { _testConfig = testConfig; _randomBoolSequence = testConfig.PseudoRandom ? (IRandomBoolSequence) new PseudoRandom(testConfig.TargetRate) : new RandomBools(testConfig.TargetRate); _remaining = testConfig.ExperimentDuration; }
public MidasTouchStageProvider(MidasTouchExperiment.Configuration.TestConfig testConfig) : base(true) { _testConfig = testConfig; _randomBoolSequence = testConfig.TargetRate.CreateRandomBoolSequence(); _remainingTrialCount = testConfig.TrialCount; }