ml-private.h 475 B

1234567891011121314151617181920212223242526
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. #ifndef ML_PRIVATE_H
  3. #define ML_PRIVATE_H
  4. #include "kmeans/KMeans.h"
  5. #include "ml/ml.h"
  6. #include <chrono>
  7. #include <map>
  8. #include <mutex>
  9. #include <sstream>
  10. namespace ml {
  11. using SteadyClock = std::chrono::steady_clock;
  12. using TimePoint = std::chrono::time_point<SteadyClock>;
  13. template<typename T>
  14. using Duration = std::chrono::duration<T>;
  15. using Seconds = std::chrono::seconds;
  16. } // namespace ml
  17. #endif /* ML_PRIVATE_H */