mirror of
https://github.com/boostorg/graph.git
synced 2025-05-09 23:14:00 +00:00
Generalize comments to be valid for any values of N and P
This commit is contained in:
parent
05e099335a
commit
0182f7490e
@ -51,7 +51,7 @@ template < typename Graph > void test()
|
||||
{
|
||||
typedef erdos_renyi_iterator< boost::minstd_rand, Graph > er;
|
||||
|
||||
// Generate random graph with 20 vertices and 10% probability
|
||||
// Generate random graph with N vertices and probability P
|
||||
// of edge connection.
|
||||
static const size_t N = 20;
|
||||
static const double P = 0.1;
|
||||
|
@ -57,7 +57,7 @@ void test_one(Algorithm algorithm, std::size_t num_cycles_expected)
|
||||
{
|
||||
typedef erdos_renyi_iterator< minstd_rand, Graph > er;
|
||||
|
||||
// Generate random graph with 20 vertices and 10% probability
|
||||
// Generate random graph with N vertices and probability P
|
||||
// of edge connection.
|
||||
static std::size_t const N = 20;
|
||||
static double const P = 0.1;
|
||||
|
@ -45,7 +45,7 @@ template < typename Graph > void test()
|
||||
{
|
||||
typedef erdos_renyi_iterator< boost::minstd_rand, Graph > er;
|
||||
|
||||
// Generate random graph with 20 vertices and 10% probability
|
||||
// Generate random graph with N vertices and probability P
|
||||
// of edge connection.
|
||||
static const size_t N = 20;
|
||||
static const double P = 0.1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user