chore: use iwyu on probablity/**.cpp

This commit is contained in:
realstealthninja
2024-09-13 15:39:18 +05:30
parent 8a8fd42383
commit 5dd7f82a34
2 changed files with 16 additions and 14 deletions

View File

@@ -19,14 +19,15 @@
* @author [Domenic Zingsheim](https://github.com/DerAndereDomenic)
*/
#include <cassert> /// for assert
#include <cmath> /// for math functions
#include <cstdint> /// for fixed size data types
#include <ctime> /// for time to initialize rng
#include <iostream> /// for std::cout
#include <limits> /// for std::numeric_limits
#include <random> /// for random numbers
#include <vector> /// for std::vector
#include <bits/std_abs.h> // for abs
#include <stdlib.h> // for rand, srand, RAND_MAX
#include <cassert> // for assert
#include <cmath> // for log, pow, sqrt
#include <cstdint> // for uint32_t
#include <ctime> // for time
#include <iostream> // for basic_ostream, char_traits, operator<<, cout
#include <limits> // for numeric_limits
#include <vector> // for vector
/**
* @namespace probability

View File

@@ -28,12 +28,13 @@
* Time complexity: O(logN). Space complexity: O(N). N - size of window
* @author [Yaniv Hollander](https://github.com/YanivHollander)
*/
#include <cassert> /// for assert
#include <cstdlib> /// for std::rand - needed in testing
#include <ctime> /// for std::time - needed in testing
#include <list> /// for std::list - used to manage sliding window
#include <set> /// for std::multiset - used to manage multi-value sorted sliding window values
#include <vector> /// for std::vector - needed in testing
#include <cassert> // for assert
#include <cstdlib> // for rand, RAND_MAX, srand
#include <ctime> // for time
#include <list> // for _List_iterator, list
#include <set> // for _Rb_tree_const_iterator, multiset
#include <vector> // for vector
#include <iterator> // for next
/**
* @namespace probability