Home
last modified time | relevance | path

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

/third_party/boost/libs/graph/example/
Dfibonacci_heap.cpp35 boost::variate_generator< random_ns::mt19937&, uniform_int<> > rand_gen( in main() local
57 int u = rand_gen(); in main()
58 float r = rand_gen(); in main()
/third_party/boost/boost/graph/
Drandom.hpp45 variate_generator< RandomNumGen&, uniform_int<> > rand_gen( in random_vertex()
47 std::size_t n = rand_gen(); in random_vertex()
67 variate_generator< RandomNumGen&, uniform_int<> > rand_gen( in random_edge()
69 typename graph_traits< Graph >::edges_size_type n = rand_gen(); in random_edge()
/third_party/boost/libs/graph/test/
Dbetweenness_centrality_test.cpp241 uniform_01< minstd_rand, double > rand_gen(gen); in randomly_add_edges() local
257 if (rand_gen() < edge_probability) in randomly_add_edges()
/third_party/boost/boost/test/impl/
Dframework.ipp726 …const random_generator_helper& rand_gen = p_random_generator ? *p_random_generator : random_genera…
740 … result = (std::min)( result, execute_test_tree( chld.second, chld_timeout, &rand_gen ) );
777 …random_shuffle( children_with_the_same_rank.begin(), children_with_the_same_rank.end(), rand_gen );
784 … result = (std::min)( result, execute_test_tree( chld, chld_timeout, &rand_gen ) );