Skip to content

Commit

Permalink
fix TSP libs include path (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
hitonanode authored Aug 30, 2023
1 parent 8f77d16 commit e5b7502
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tsp/calc_lkh_alpha.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include <vector>

#include "tsp/mst_edges.hpp"

// http://webhotel4.ruc.dk/~keld/research/LKH/LKH-2.0/DOC/LKH_REPORT.pdf, p.20
template <class DistanceMatrix> auto calc_lkh_alpha(const DistanceMatrix &dist) {
using T = decltype((*dist.adjacents(0).begin()).second);
Expand Down
2 changes: 2 additions & 0 deletions tsp/csr_distance_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <utility>
#include <vector>

#include "tsp/calc_lkh_alpha.hpp"

template <class T> class csr_distance_matrix {

int _rows = 0;
Expand Down
4 changes: 2 additions & 2 deletions tsp/held_karp.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "csr_distance_matrix.hpp"
#include "minimum_one_tree.hpp"
#include "tsp/csr_distance_matrix.hpp"
#include "tsp/minimum_one_tree.hpp"

#include <algorithm>
#include <utility>
Expand Down

0 comments on commit e5b7502

Please sign in to comment.