Ejemplo n.º 1
0
 public void setFilepath(PropertyFilePath m_filepath) {
   // System.out.println("!!!!!!!!!!!!!!setM_filepath!!!!!!!!!!!!");
   //	  File f = new File(m_filepath.getCompleteFilePath());
   if (this.setFile(new File(m_filepath.getCompleteFilePath()))) {
     this.m_filepath = m_filepath;
   }
 }
Ejemplo n.º 2
0
 public TSPLibTSPInstance() {
   //	  m_filepath = new PropertyFilePath
   //	  BasicResourceLoader.
   m_filepath = PropertyFilePath.getFilePathFromResource("resources/TSPLib/euc2d/eil101.tsp");
   if (m_filepath == null)
     System.err.println("Warning: empty filepath for TSPLibTSPInstance - missing resources?");
   //	  m_filepath = new PropertyFilePath(System.getProperty("user.dir") +
   // "/resources/TSPLib/euc2d/eil101.tsp");
   this.setFilepath(m_filepath);
   builddistancematrix = true;
 }