From 0182f7490e1914fff6a93eae93e22b5b4c6de1bc Mon Sep 17 00:00:00 2001 From: Sven Gato Redsun Date: Sun, 7 May 2023 22:02:19 -0600 Subject: [PATCH] Generalize comments to be valid for any values of N and P --- test/bron_kerbosch_all_cliques.cpp | 2 +- test/cycle_test.hpp | 2 +- test/tiernan_all_cycles.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/bron_kerbosch_all_cliques.cpp b/test/bron_kerbosch_all_cliques.cpp index 024c2703..949069a9 100644 --- a/test/bron_kerbosch_all_cliques.cpp +++ b/test/bron_kerbosch_all_cliques.cpp @@ -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; diff --git a/test/cycle_test.hpp b/test/cycle_test.hpp index 7a486b97..3adba3ee 100644 --- a/test/cycle_test.hpp +++ b/test/cycle_test.hpp @@ -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; diff --git a/test/tiernan_all_cycles.cpp b/test/tiernan_all_cycles.cpp index 6854ab69..6705bb7e 100644 --- a/test/tiernan_all_cycles.cpp +++ b/test/tiernan_all_cycles.cpp @@ -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;