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
@@ -79,7 +79,6 @@ void BruteForceTSP(std::vector<unsigned> & location,
|
||||
InternalRouteResult & min_route,
|
||||
std::vector<int> & min_loc_permutation) {
|
||||
|
||||
const auto number_of_location = phantom_node_vector.size();
|
||||
const int component_size = location.size();
|
||||
int min_route_dist = std::numeric_limits<int>::max();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user