Fixed newline in output (TS)

This commit is contained in:
Jan Potocki
2020-01-20 19:24:40 +01:00
parent c10d296d82
commit 6cab940785
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -693,6 +693,4 @@ void Graph::travellingSalesmanTabuSearchEngine(Graph &graph, unsigned tabuSteps,
// Reset licznika iteracji przed restartem // Reset licznika iteracji przed restartem
stopCounter = 0; stopCounter = 0;
} }
std::cout << std::endl;
} }
+1
View File
@@ -448,6 +448,7 @@ int main(int argc, char *argv[])
cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl; cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
} }
cout << endl;
cout << "Dlugosc trasy: " << distFromStart << endl; cout << "Dlugosc trasy: " << distFromStart << endl;
cout << endl; cout << endl;
cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl; cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;