$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53826 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2009-06-12 10:58:08
Author: jewillco
Date: 2009-06-12 10:58:07 EDT (Fri, 12 Jun 2009)
New Revision: 53826
URL: http://svn.boost.org/trac/boost/changeset/53826
Log:
Reduced test sizes and turned off result printing
Text files modified: 
   trunk/libs/graph/test/gursoy_atun_layout_test.cpp |     8 ++++++--                                
   1 files changed, 6 insertions(+), 2 deletions(-)
Modified: trunk/libs/graph/test/gursoy_atun_layout_test.cpp
==============================================================================
--- trunk/libs/graph/test/gursoy_atun_layout_test.cpp	(original)
+++ trunk/libs/graph/test/gursoy_atun_layout_test.cpp	2009-06-12 10:58:07 EDT (Fri, 12 Jun 2009)
@@ -59,7 +59,7 @@
 
   // Make grid, like Gursoy and Atun used
   std::map<int, std::map<int, vertex_descriptor> > verts;
-  const int grid_size = 30;
+  const int grid_size = 20;
   boost::minstd_rand edge_weight_gen;
   boost::uniform_01<boost::minstd_rand> random_edge_weight(edge_weight_gen);
   for (int i = 0; i < grid_size; ++i)
@@ -94,7 +94,7 @@
                    plod_iterator<minstd_rand, graph_type>(),
                    n);
 #else 
-  int n = 100000;
+  int n = 1000;
   int k = 6;
   double p = 0.001;
   minstd_rand gen;
@@ -120,19 +120,23 @@
 
   boost::gursoy_atun_layout(graph, space, position);
 
+#if 0
   std::cerr << "--------Unweighted layout--------\n";
   boost::write_graphviz(std::cout, graph, 
                         position_writer<Position, vertex_descriptor>(position),
                         boost::default_writer(),
                         graph_writer());
+#endif
 
   boost::gursoy_atun_layout(graph, space, position,
                             weight_map(get(boost::edge_weight, graph)));
 
+#if 0
   std::cerr << "--------Weighted layout--------\n";
   boost::write_graphviz(std::cout, graph, 
                         position_writer<Position, vertex_descriptor>(position),
                         boost::default_writer(),
                         graph_writer());
+#endif
   return 0;
 }