From 6cab940785459e7118e37f5cdd1308e2c177e65e Mon Sep 17 00:00:00 2001 From: Jan Potocki Date: Mon, 20 Jan 2020 19:24:40 +0100 Subject: [PATCH] Fixed newline in output (TS) --- Graph.cpp | 2 -- pea2plus.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Graph.cpp b/Graph.cpp index f8c1def..413f50d 100755 --- a/Graph.cpp +++ b/Graph.cpp @@ -693,6 +693,4 @@ void Graph::travellingSalesmanTabuSearchEngine(Graph &graph, unsigned tabuSteps, // Reset licznika iteracji przed restartem stopCounter = 0; } - -std::cout << std::endl; } diff --git a/pea2plus.cpp b/pea2plus.cpp index a8079be..1b30fa4 100755 --- a/pea2plus.cpp +++ b/pea2plus.cpp @@ -448,6 +448,7 @@ int main(int argc, char *argv[]) cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl; } + cout << endl; cout << "Dlugosc trasy: " << distFromStart << endl; cout << endl; cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;