Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54744 - trunk/libs/graph_parallel/test
From: ngedmond_at_[hidden]
Date: 2009-07-06 21:32:53


Author: ngedmond
Date: 2009-07-06 21:32:52 EDT (Mon, 06 Jul 2009)
New Revision: 54744
URL: http://svn.boost.org/trac/boost/changeset/54744

Log:
switched to tagged ctor
Text files modified:
   trunk/libs/graph_parallel/test/algorithm_performance.cpp | 12 ++++++++----
   1 files changed, 8 insertions(+), 4 deletions(-)

Modified: trunk/libs/graph_parallel/test/algorithm_performance.cpp
==============================================================================
--- trunk/libs/graph_parallel/test/algorithm_performance.cpp (original)
+++ trunk/libs/graph_parallel/test/algorithm_performance.cpp 2009-07-06 21:32:52 EDT (Mon, 06 Jul 2009)
@@ -359,7 +359,8 @@
     typedef compressed_sparse_row_graph<directedS, no_property, WeightedEdge>
       seqGraph;
     
- seqGraph sg(sorted_rmat_iterator<RandomGenerator, seqGraph>(gen, N, M, a, b, c, d),
+ seqGraph sg(edges_are_sorted,
+ sorted_rmat_iterator<RandomGenerator, seqGraph>(gen, N, M, a, b, c, d),
                 sorted_rmat_iterator<RandomGenerator, seqGraph>(),
                 make_generator_iterator(gen, uniform_int<int>(1, C)),
                 N);
@@ -394,7 +395,8 @@
     typedef compressed_sparse_row_graph<directedS, no_property, WeightedEdge>
       seqGraph;
     
- seqGraph sg(sorted_unique_rmat_iterator<RandomGenerator, seqGraph>(gen, N, M, a, b, c, d),
+ seqGraph sg(edges_are_sorted,
+ sorted_unique_rmat_iterator<RandomGenerator, seqGraph>(gen, N, M, a, b, c, d),
                 sorted_unique_rmat_iterator<RandomGenerator, seqGraph>(),
                 make_generator_iterator(gen, uniform_int<int>(1, C)),
                 N);
@@ -428,7 +430,8 @@
     typedef compressed_sparse_row_graph<directedS, no_property, WeightedEdge>
       seqGraph;
     
- seqGraph sg(sorted_erdos_renyi_iterator<RandomGenerator, seqGraph>(gen, N, _p/2),
+ seqGraph sg(edges_are_sorted,
+ sorted_erdos_renyi_iterator<RandomGenerator, seqGraph>(gen, N, _p/2),
                 sorted_erdos_renyi_iterator<RandomGenerator, seqGraph>(),
                 make_generator_iterator(gen, uniform_int<int>(1, C)),
                 N);
@@ -463,7 +466,8 @@
     typedef compressed_sparse_row_graph<directedS, no_property, WeightedEdge>
       seqGraph;
     
- seqGraph sg(small_world_iterator<RandomGenerator, seqGraph>(gen, N, k, p),
+ seqGraph sg(edges_are_sorted,
+ small_world_iterator<RandomGenerator, seqGraph>(gen, N, k, p),
                 small_world_iterator<RandomGenerator, seqGraph>(),
                 make_generator_iterator(gen, uniform_int<int>(1, C)),
                 N);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk