#include <TSPSearch.h>
Public Member Functions | |
bool | callTSPSolver () |
void | readResultTSPFile (std::vector< unsigned int > &traj) |
void | tokenize (const string &str, vector< string > &tokens, const string &delimiters) |
TSPSearch () | |
void | writeToLog (std::string logfile) |
void | writeToTSPFile (const Eigen::MatrixXf &weights) |
Public Attributes | |
std::vector< std::vector < double > > | edge_weights_ |
std::string | file_tsp_param_ |
std::string | file_tsp_problem_ |
std::string | file_tsp_result_ |
std::vector< unsigned int > | valid_cell_indices_ |
Definition at line 12 of file TSPSearch.h.
Definition at line 31 of file TSPSearch.cpp.
Definition at line 136 of file TSPSearch.cpp.
void TSPSearch::readResultTSPFile | ( | std::vector< unsigned int > & | traj | ) |
Definition at line 158 of file TSPSearch.cpp.
void TSPSearch::tokenize | ( | const string & | str, |
vector< string > & | tokens, | ||
const string & | delimiters | ||
) |
Definition at line 146 of file TSPSearch.cpp.
void TSPSearch::writeToLog | ( | std::string | logfile | ) |
void TSPSearch::writeToTSPFile | ( | const Eigen::MatrixXf & | weights | ) |
Definition at line 49 of file TSPSearch.cpp.
std::vector<std::vector<double> > TSPSearch::edge_weights_ |
Definition at line 20 of file TSPSearch.h.
std::string TSPSearch::file_tsp_param_ |
Definition at line 19 of file TSPSearch.h.
std::string TSPSearch::file_tsp_problem_ |
Definition at line 18 of file TSPSearch.h.
std::string TSPSearch::file_tsp_result_ |
Definition at line 17 of file TSPSearch.h.
std::vector<unsigned int> TSPSearch::valid_cell_indices_ |
Definition at line 21 of file TSPSearch.h.