Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56682 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2009-10-09 16:15:10


Author: jewillco
Date: 2009-10-09 16:15:09 EDT (Fri, 09 Oct 2009)
New Revision: 56682
URL: http://svn.boost.org/trac/boost/changeset/56682

Log:
Removed old parameters from test code
Text files modified:
   trunk/libs/graph/test/layout_test.cpp | 14 --------------
   1 files changed, 0 insertions(+), 14 deletions(-)

Modified: trunk/libs/graph/test/layout_test.cpp
==============================================================================
--- trunk/libs/graph/test/layout_test.cpp (original)
+++ trunk/libs/graph/test/layout_test.cpp 2009-10-09 16:15:09 EDT (Fri, 09 Oct 2009)
@@ -203,10 +203,6 @@
   typedef square_topology<> Topology;
   Topology topology(gen, 50.0);
   std::vector<Topology::point_difference_type> displacements(num_vertices(g));
- Topology::point_type origin;
- origin[0] = origin[1] = 50.0;
- Topology::point_difference_type extent;
- extent[0] = extent[1] = 50.0;
   rectangle_topology<> rect_top(gen, 0, 0, 50, 50);
   random_graph_layout(g, get(vertex_position, g), rect_top);
 
@@ -214,8 +210,6 @@
     (g,
      get(vertex_position, g),
      topology,
- origin,
- extent,
      square_distance_attractive_force(),
      square_distance_repulsive_force(),
      all_force_pairs(),
@@ -292,8 +286,6 @@
     (g,
      get(vertex_position, g),
      topology,
- origin,
- extent,
      attractive_force(square_distance_attractive_force()).
      cooling(linear_cooling<double>(100)));
 
@@ -350,16 +342,10 @@
   typedef square_topology<> Topology;
   Topology topology(gen, 50.0);
   std::vector<Topology::point_difference_type> displacements(num_vertices(g));
- Topology::point_type origin;
- origin[0] = origin[1] = 50.0;
- Topology::point_difference_type extent;
- extent[0] = extent[1] = 50.0;
   fruchterman_reingold_force_directed_layout
     (g,
      get(vertex_position, g),
      topology,
- origin,
- extent,
      attractive_force(square_distance_attractive_force()).
      cooling(linear_cooling<double>(50)));
 


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