|
NDDEM
|
#include <cstdlib>#include <cstdio>#include "LinkedList.h"#include <boost/random/mersenne_twister.hpp>#include <boost/random/uniform_int_distribution.hpp>Functions | |
| boost::random::mt19937 | rng (static_cast< unsigned int >(std::time(nullptr))) |
| boost::random::uniform_int_distribution | action (0, 100) |
| template<typename T > | |
| T | random () |
| template<typename T > | |
| randomize (std::list< T > &A, fg::list< T > &B, int target_size) | |
| int | main (int argc, char *argv[]) |
| boost::random::uniform_int_distribution action | ( | 0 | , |
| 100 | |||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| T random | ( | ) |
| randomize | ( | std::list< T > & | A, |
| fg::list< T > & | B, | ||
| int | target_size | ||
| ) |
| boost::random::mt19937 rng | ( | static_cast< unsigned int > | std::time(nullptr) | ) |