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
+3
View File
@@ -81,6 +81,8 @@ struct RouteParameters
void getCoordinatesFromGeometry(const std::string geometry_string);
void setTSPAlgo(const std::string &tsp_algo);
short zoom_level;
bool print_instructions;
bool alternate_route;
@@ -97,6 +99,7 @@ struct RouteParameters
std::string output_format;
std::string jsonp_parameter;
std::string language;
std::string tsp_algo;
std::vector<std::string> hints;
std::vector<unsigned> timestamps;
std::vector<bool> uturns;