Esempio n. 1
0
 public boolean loadCountsFromFile(String path) {
   if (board.net == null) return false;
   board.clearCounts();
   CountsReaderMatsimV1 countsReader = new CountsReaderMatsimV1(board.counts);
   try {
     countsReader.parse(path);
   } catch (Exception e) {
     e.printStackTrace();
     return false;
   }
   return true;
 }