feat: add bucket finder
This commit is contained in:
parent
4b42f4c12a
commit
32be1eaa95
6 changed files with 126 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "mainwindow.h"
|
||||
#include "./ui_mainwindow.h"
|
||||
|
||||
#include "bucket_finder.h"
|
||||
#include "finder.h"
|
||||
#include "grouped_finder.h"
|
||||
#include "linear_finder.h"
|
||||
|
@ -32,6 +33,7 @@ void MainWindow::setupAlgorithmSelector() {
|
|||
search_algorithms_.appendRow(new QStandardItem("Parallel search"));
|
||||
search_algorithms_.appendRow(new QStandardItem("Tree search"));
|
||||
search_algorithms_.appendRow(new QStandardItem("Grouped search"));
|
||||
search_algorithms_.appendRow(new QStandardItem("Bucket search"));
|
||||
}
|
||||
|
||||
void MainWindow::setupWordListSourceSelector() {
|
||||
|
@ -114,6 +116,9 @@ void MainWindow::createSelectedFinder() {
|
|||
case 4:
|
||||
finder_ = std::make_unique<GroupedFinder>(word_list_);
|
||||
break;
|
||||
case 5:
|
||||
finder_ = std::make_unique<BucketFinder>(word_list_);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue