Add partial result filter to manage

This commit is contained in:
2023-09-16 17:27:18 +02:00
parent 89df7f4db0
commit 6030885fc3
3 changed files with 16 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ namespace platform {
};
class Results {
public:
Results(const string& path, const int max, const string& model, const string& score, bool complete) : path(path), max(max), model(model), scoreName(score), complete(complete) { load(); };
Results(const string& path, const int max, const string& model, const string& score, bool complete, bool partial) : path(path), max(max), model(model), scoreName(score), complete(complete), partial(partial) { load(); };
void manage();
private:
string path;
@@ -42,6 +42,7 @@ namespace platform {
string model;
string scoreName;
bool complete;
bool partial;
bool indexList = true;
vector<Result> files;
void load(); // Loads the list of results