Skip to content

Commit e1bfae7

Browse files
committed
Remove additional debug flags.
1 parent 2044e74 commit e1bfae7

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

src/main.cpp

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,10 @@ int main(int argc, char** argv) {
8484
cxxopts::value<std::string>(cl_args.input));
8585

8686
// we don't want to print debug args on --help
87-
std::optional<unsigned> debug_depth;
88-
std::optional<unsigned> debug_nb_searches;
89-
9087
options.add_options("debug_group")
9188
("f,apply-tsp-fix",
9289
"apply experimental TSPFix local search operator",
93-
cxxopts::value<bool>(cl_args.apply_TSPFix)->default_value("false"))
94-
("d,depth",
95-
"search depth",
96-
cxxopts::value<std::optional<unsigned>>(debug_depth))
97-
("s,nb-searches",
98-
"number of searches to perform in parallel",
99-
cxxopts::value<std::optional<unsigned>>(debug_nb_searches));
90+
cxxopts::value<bool>(cl_args.apply_TSPFix)->default_value("false"));
10091

10192
// clang-format on
10293
try {
@@ -160,12 +151,6 @@ int main(int argc, char** argv) {
160151
}
161152
exploration_level = std::min(exploration_level, vroom::MAX_EXPLORATION_LEVEL);
162153
cl_args.set_exploration_level(exploration_level);
163-
if (debug_depth) {
164-
cl_args.depth = debug_depth.value();
165-
}
166-
if (debug_nb_searches) {
167-
cl_args.nb_searches = debug_nb_searches.value();
168-
}
169154

170155
// Determine routing engine (defaults to ROUTER::OSRM).
171156
if (router_arg == "libosrm") {

0 commit comments

Comments
 (0)