示例#1
0
 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);
 }
示例#2
0
 public ProbabilisticSearchUtils(IThreadManager threadManager, DeterministicSearchUtils deterministicSearchUtils, SearchOptions searchOptions)
 {
     this.deterministicSearchUtils = deterministicSearchUtils;
     this.searchOptions            = searchOptions;
     this.threadManager            = threadManager;
 }