소스 검색

Fixed newline in output (TS)

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

+ 0
- 2
Graph.cpp 파일 보기

@@ -693,6 +693,4 @@ void Graph::travellingSalesmanTabuSearchEngine(Graph &graph, unsigned tabuSteps,
693 693
         // Reset licznika iteracji przed restartem
694 694
         stopCounter = 0;
695 695
     }
696
-
697
-std::cout << std::endl;
698 696
 }

+ 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…
취소
저장