Implementacja tabu search dla TSP
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
12345678910111213141516171819202122 |
- #ifndef STOPWATCH_H
- #define STOPWATCH_H
-
- #include <chrono>
-
- // Klasa do pomiaru czasu (wieloplatformowa)
- // Jan Potocki 2017-2019
- class Stopwatch
- {
- public:
- Stopwatch();
- void start();
- void stop();
- double read();
- protected:
- private:
- std::chrono::duration<double> measurement;
- std::chrono::time_point<std::chrono::steady_clock> tstart;
- std::chrono::time_point<std::chrono::steady_clock> tstop;
- };
-
- #endif // STOPWATCH_H
|