Skip to content

Commit e5b7502

Browse files
authored
fix TSP libs include path (#315)
1 parent 8f77d16 commit e5b7502

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tsp/calc_lkh_alpha.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#include <vector>
44

5+
#include "tsp/mst_edges.hpp"
6+
57
// http://webhotel4.ruc.dk/~keld/research/LKH/LKH-2.0/DOC/LKH_REPORT.pdf, p.20
68
template <class DistanceMatrix> auto calc_lkh_alpha(const DistanceMatrix &dist) {
79
using T = decltype((*dist.adjacents(0).begin()).second);

tsp/csr_distance_matrix.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <utility>
55
#include <vector>
66

7+
#include "tsp/calc_lkh_alpha.hpp"
8+
79
template <class T> class csr_distance_matrix {
810

911
int _rows = 0;

tsp/held_karp.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

3-
#include "csr_distance_matrix.hpp"
4-
#include "minimum_one_tree.hpp"
3+
#include "tsp/csr_distance_matrix.hpp"
4+
#include "tsp/minimum_one_tree.hpp"
55

66
#include <algorithm>
77
#include <utility>

0 commit comments

Comments
 (0)