totofeh 9 jaren geleden
bovenliggende
commit
2b1008786e
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 5 5
      src/tests/multithreading/main.cpp

+ 5 - 5
src/tests/multithreading/main.cpp

@@ -122,8 +122,8 @@ double grid_multithreading(int cluster_number)
 
 double tree_monothreading()
 {
-    std::vector < int > levels = { 4, 3, 2 };
-    int nbr_sommets = 1000;
+    std::vector < int > levels = { 5,4, 3, 2 };
+    int nbr_sommets = 10000;
     int sources = nbr_sommets/100*1;
     paradevs::tests::boost_graph::RandomGraphGenerator generator(nbr_sommets,
                                                                  levels,
@@ -138,7 +138,7 @@ double tree_monothreading()
             paradevs::tests::boost_graph::PartitioningParameters >
         > rc(0, 10, "root", paradevs::common::NoParameters(),
              paradevs::tests::boost_graph::PartitioningParameters(
-                 4, "gggp", 200, false, generator));
+                 8, "gggp", 200, false, generator));
 
     steady_clock::time_point t1 = steady_clock::now();
 
@@ -154,8 +154,8 @@ double tree_monothreading()
 
 double tree_multithreading(int cluster_number)
 {
-    std::vector < int > levels = { 4, 3, 2 };
-    int nbr_sommets = 1000;
+    std::vector < int > levels = { 5,4, 3, 2 };
+    int nbr_sommets = 10000;
     int sources = nbr_sommets/100*1;
     paradevs::tests::boost_graph::RandomGraphGenerator generator(nbr_sommets,
                                                                  levels,