add parameter to choose algorithm for tsp calculation and remove redundant code
This commit is contained in:
committed by
Huyen Chau Nguyen
parent
b15f8f68e4
commit
6191b6bee2
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user