private static SuggestionEngine.SuggestionEngine CreateSuggestionEngine() { var repo = new CouchRepository(); var linear = new LinearCovarianceCalculator(); var twoToOne = new TwoToOneCovarianceCalculator(); return new SuggestionEngine.SuggestionEngine(linear, twoToOne, repo); }
public SuggestionEngine(LinearCovarianceCalculator linearCovarianceCalculator, TwoToOneCovarianceCalculator twoToOneCovarianceCalculator, CouchRepository couchRepository) { _couchRepository = couchRepository; _linearCovarianceCalculator = linearCovarianceCalculator; _twoToOneCovarianceCalculator = twoToOneCovarianceCalculator; }