TSPSearch.h
Go to the documentation of this file.
00001 
00003 #ifndef TSPSearch_H_
00004 #define TSPSearch_H_
00005 
00006 #include <ros/ros.h>
00007 #include <vector>
00008 #include <string>
00009 #include <Eigen/Core>
00010 using namespace std;
00011 
00012 class TSPSearch {
00013 
00014 public:
00015     TSPSearch();
00016 
00017     std::string file_tsp_result_;
00018     std::string file_tsp_problem_;
00019     std::string file_tsp_param_;
00020     std::vector<std::vector<double> > edge_weights_;
00021     std::vector<unsigned int> valid_cell_indices_;
00022 
00023     void writeToLog(std::string logfile);
00024     void writeToTSPFile(const Eigen::MatrixXf& weights);
00025     void tokenize(const string& str, vector<string>& tokens, const string& delimiters);
00026     void readResultTSPFile(std::vector<unsigned int>& traj);
00027     bool callTSPSolver();
00028 };
00029 
00030 
00031 
00032 
00033 #endif /* TSPSearch_H_ */
00034 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


coverage_3d_planning
Author(s): Juergen Hess
autogenerated on Wed Dec 26 2012 15:26:11