From 0b6e9418f99a8ed8de21d8c8122a5f21836295be Mon Sep 17 00:00:00 2001 From: Jan Potocki Date: Mon, 20 Jan 2020 19:22:07 +0100 Subject: [PATCH] Fixed newline in output (TS) --- Graph.cpp | 2 +- pea2plus.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Graph.cpp b/Graph.cpp index 19c7fc7..4e81939 100755 --- a/Graph.cpp +++ b/Graph.cpp @@ -679,5 +679,5 @@ void Graph::travellingSalesmanTabuSearchEngine(Graph &graph, unsigned tabuSteps, stopCounter = 0; } - std::cout << std::endl; + //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;