diff --git a/eqpalg/build_algorithm.cpp b/eqpalg/build_algorithm.cpp index 55f8f57..e731b97 100644 --- a/eqpalg/build_algorithm.cpp +++ b/eqpalg/build_algorithm.cpp @@ -1,13 +1,15 @@ #include #include #include -// for default case -#include +#include +#include #include #include #include #include +#include #include +#include #include #include #include @@ -19,11 +21,19 @@ std::unique_ptr build_algorithm(int algId, const string &ruleId, LOG d("build_algorithm"); switch (algId) { case 1: + return std::make_unique(name, rule_json, ruleId); + break; case 2: + return std::make_unique(name, rule_json, ruleId); + break; case 3: + return std::make_unique(name, rule_json, ruleId, algId); + break; case 4: + return std::make_unique(name, rule_json, ruleId, algId); + break; case 5: - return std::make_unique(name, rule_json, ruleId, algId); + return std::make_unique(name, rule_json, ruleId); break; case 6: case 7: