add parameter to choose algorithm for tsp calculation and remove redundant code

This commit is contained in:
Chau Nguyen
2015-07-10 12:25:35 -04:00
committed by Huyen Chau Nguyen
parent b15f8f68e4
commit 6191b6bee2
9 changed files with 39 additions and 655 deletions
+5
View File
@@ -122,6 +122,11 @@ void RouteParameters::setLanguage(const std::string &language_string)
language = language_string;
}
void RouteParameters::setTSPAlgo(const std::string &tsp_algo_string)
{
tsp_algo = tsp_algo_string;
}
void RouteParameters::setGeometryFlag(const bool flag) { geometry = flag; }
void RouteParameters::setCompressionFlag(const bool flag) { compression = flag; }