Fixed newline in output (TS)

This commit is contained in:
Jan Potocki
2020-01-20 19:22:07 +01:00
parent 01f2e91aac
commit 0b6e9418f9
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -679,5 +679,5 @@ void Graph::travellingSalesmanTabuSearchEngine(Graph &graph, unsigned tabuSteps,
stopCounter = 0; stopCounter = 0;
} }
std::cout << std::endl; //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;