public SearchWorker(SearchOptions searchOptions, IThreadManager threadManager, ICacheManager cache) { this.searchOptions = searchOptions; this.cache = cache; deterministicSearchUtils = new DeterministicSearchUtils(this, searchOptions, threadManager); probabilisticSearchUtils = new ProbabilisticSearchUtils(threadManager, deterministicSearchUtils, searchOptions); }
public ProbabilisticSearchUtils(IThreadManager threadManager, DeterministicSearchUtils deterministicSearchUtils, SearchOptions searchOptions) { this.deterministicSearchUtils = deterministicSearchUtils; this.searchOptions = searchOptions; this.threadManager = threadManager; }