public TransitionData(DistributionEstimator est, OutputProbabilityCreator probsCreator) { if (est == null || probsCreator == null) { throw new ArgumentNullException(); } //this.symbol = symbol; this.probsCreator = probsCreator; this.distEstimator = est; }
public TransitionData(DistributionEstimator est, string singleSymbol) { if (est == null || string.IsNullOrWhiteSpace(singleSymbol)) { throw new ArgumentNullException(); } //this.symbol = symbol; this.singleSymbol = singleSymbol; this.probsCreator = null; this.distEstimator = est; }