Home
last modified time | relevance | path

Searched refs:int_gen (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/random/test/
Dtest_uniform_int.ipp48 typedef BOOST_RANDOM_UNIFORM_INT<int> int_gen;
51 typedef boost::random::variate_generator<boost::random::mt19937&, int_gen> level_one;
53 level_one uint12(gen, int_gen(1,2));
57 level_one uint16(gen, int_gen(1,6));
63 typedef boost::random::variate_generator<level_one&, int_gen> level_two;
64 level_two uint01(uint12, int_gen(0, 1));
68 level_two uint05(uint12, int_gen(-3, 2));
72 level_two uint099(uint12, int_gen(0, 99));
76 typedef boost::random::variate_generator<level_two&, int_gen> level_three;
77 level_three uint1_4(uint05, int_gen(1, 4));
[all …]
Dmultiprecision_float_test.cpp107 boost::random::mt19937 int_gen; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
111 result_type r = d(int_gen); in BOOST_AUTO_TEST_CASE_TEMPLATE()
156 boost::random::mt19937 int_gen; in BOOST_AUTO_TEST_CASE() local
160 … r = boost::random::generate_canonical<big_float, std::numeric_limits<big_float>::digits>(int_gen); in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/graph/test/
Dmax_flow_test.cpp100 tIntGen int_gen(gen, uniform_int< int >(cap_low, cap_high)); in main()
102 randomize_property< edge_capacity_t, Graph, tIntGen >(g, int_gen); in main()
Dboykov_kolmogorov_max_flow_test.cpp69 tIntGen int_gen(gen, uniform_int< int >(cap_low, cap_high)); in fill_random_max_flow_graph()
75 cap[*ei] = int_gen(); in fill_random_max_flow_graph()