소스 검색

Fixed newline in output (TS)

Jan Potocki 5 년 전
부모
커밋
0b6e9418f9
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Graph.cpp
  2. 1
    0
      pea2plus.cpp

+ 1
- 1
Graph.cpp 파일 보기

@@ -679,5 +679,5 @@ void Graph::travellingSalesmanTabuSearchEngine(Graph &graph, unsigned tabuSteps,
679 679
         stopCounter = 0;
680 680
     }
681 681
 
682
-    std::cout << std::endl;
682
+    //std::cout << std::endl;
683 683
 }

+ 1
- 0
pea2plus.cpp 파일 보기

@@ -448,6 +448,7 @@ int main(int argc, char *argv[])
448 448
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
449 449
                         }
450 450
 
451
+                        cout << endl;
451 452
                         cout << "Dlugosc trasy: " << distFromStart << endl;
452 453
                         cout << endl;
453 454
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;

Loading…
취소
저장