Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55027 - in trunk: boost/graph boost/graph/distributed libs/graph/example libs/graph_parallel/test
From: jewillco_at_[hidden]
Date: 2009-07-19 11:32:28


Author: jewillco
Date: 2009-07-19 11:32:27 EDT (Sun, 19 Jul 2009)
New Revision: 55027
URL: http://svn.boost.org/trac/boost/changeset/55027

Log:
Fixed tab issues found by inspect tool
Text files modified:
   trunk/boost/graph/compressed_sparse_row_graph.hpp | 6 ++--
   trunk/boost/graph/distributed/compressed_sparse_row_graph.hpp | 44 ++++++++++++++++++++--------------------
   trunk/libs/graph/example/cycle_ratio_example.cpp | 4 +-
   trunk/libs/graph_parallel/test/algorithm_performance.cpp | 8 +++---
   trunk/libs/graph_parallel/test/distributed_betweenness_centrality_test.cpp | 4 +-
   trunk/libs/graph_parallel/test/distributed_st_connected_test.cpp | 8 +++---
   trunk/libs/graph_parallel/test/ssca.cpp | 2
   7 files changed, 38 insertions(+), 38 deletions(-)

Modified: trunk/boost/graph/compressed_sparse_row_graph.hpp
==============================================================================
--- trunk/boost/graph/compressed_sparse_row_graph.hpp (original)
+++ trunk/boost/graph/compressed_sparse_row_graph.hpp 2009-07-19 11:32:27 EDT (Sun, 19 Jul 2009)
@@ -1132,7 +1132,7 @@
   }
 
   template <typename BidirectionalIteratorOrig, typename EPIterOrig,
- typename GlobalToLocal>
+ typename GlobalToLocal>
   void
   add_edges_sorted_internal_global(
       BidirectionalIteratorOrig first_sorted,
@@ -1368,7 +1368,7 @@
       const GlobalToLocal& global_to_local,
       BOOST_CSR_GRAPH_TYPE& g) {
     g.add_edges_sorted_internal_global(first_sorted, last_sorted, ep_iter_sorted,
- global_to_local);
+ global_to_local);
   }
 
   // Add edges from a sorted (smallest sources first) range of pairs
@@ -1388,7 +1388,7 @@
             typename GlobalToLocal>
   inline void
   add_edges_global(InputIterator first, InputIterator last,
- const GlobalToLocal& global_to_local, BOOST_CSR_GRAPH_TYPE& g) {
+ const GlobalToLocal& global_to_local, BOOST_CSR_GRAPH_TYPE& g) {
     g.add_edges_internal(first, last, global_to_local);
   }
 

Modified: trunk/boost/graph/distributed/compressed_sparse_row_graph.hpp
==============================================================================
--- trunk/boost/graph/distributed/compressed_sparse_row_graph.hpp (original)
+++ trunk/boost/graph/distributed/compressed_sparse_row_graph.hpp 2009-07-19 11:32:27 EDT (Sun, 19 Jul 2009)
@@ -441,7 +441,7 @@
             EdgePropertyIterator ep_iter,
             EdgePropertyIterator ep_iter_end)
   { boost::add_edges_global(first, last, ep_iter, ep_iter_end,
- get(vertex_local, *this), m_base); }
+ get(vertex_local, *this), m_base); }
 
   template <typename InputIterator>
   void
@@ -454,7 +454,7 @@
   add_edges_sorted(InputIterator first_sorted, InputIterator last_sorted,
                    EdgePropertyIterator ep_iter_sorted)
   { boost::add_edges_sorted_global(first_sorted, last_sorted, ep_iter_sorted,
- get(vertex_local, *this), m_base); }
+ get(vertex_local, *this), m_base); }
 
  protected:
   ProcessGroup m_process_group;
@@ -801,7 +801,7 @@
 template <typename IndexIterator, typename Distribution, typename Graph>
 boost::transform_iterator<index_to_vertex_func<Distribution, Graph>, IndexIterator>
 make_index_to_vertex_iterator(IndexIterator it, const Distribution& dist,
- const Graph& g) {
+ const Graph& g) {
   return boost::make_transform_iterator(
     it, index_to_vertex_func<Distribution, Graph>(dist, g));
 }
@@ -1000,8 +1000,8 @@
   : m_process_group(pg),
     m_distribution(parallel::block(m_process_group, numverts)),
     m_base(edges_are_unsorted_multi_pass_global,
- make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
- make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
            m_distribution.block_size(process_id(m_process_group), numverts),
            get(vertex_local, *this),
            local_edge<csr_vertex_owner_map<process_id_type, vertex_descriptor>,
@@ -1022,8 +1022,8 @@
   : m_process_group(pg),
     m_distribution(dist),
     m_base(edges_are_unsorted_multi_pass_global,
- make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
- make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
            m_distribution.block_size(process_id(m_process_group), numverts),
            get(vertex_local, *this),
            local_edge<csr_vertex_owner_map<process_id_type, vertex_descriptor>,
@@ -1045,8 +1045,8 @@
   : m_process_group(pg),
     m_distribution(parallel::block(m_process_group, numverts)),
     m_base(edges_are_unsorted_multi_pass_global,
- make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
- make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
            ep_iter,
            m_distribution.block_size(process_id(m_process_group), numverts),
            get(vertex_local, *this),
@@ -1070,8 +1070,8 @@
   : m_process_group(pg),
     m_distribution(dist),
     m_base(edges_are_unsorted_multi_pass_global,
- make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
- make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_begin, parallel::block(m_process_group, numverts), *this),
+ make_index_to_vertex_iterator(edge_end, parallel::block(m_process_group, numverts), *this),
            ep_iter,
            m_distribution.block_size(process_id(m_process_group), numverts),
            get(vertex_local, *this),
@@ -1538,42 +1538,42 @@
 template<BOOST_DISTRIB_CSR_GRAPH_TEMPLATE_PARMS>
 typename BOOST_DISTRIB_CSR_GRAPH_TYPE::vertex_descriptor
 add_vertex(const typename BOOST_DISTRIB_CSR_GRAPH_TYPE::vertex_bundled& p,
- BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
+ BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
 { return g.add_vertex(p); }
 
 template<BOOST_DISTRIB_CSR_GRAPH_TEMPLATE_PARMS>
 typename BOOST_DISTRIB_CSR_GRAPH_TYPE::vertex_descriptor
 add_vertices(typename BOOST_DISTRIB_CSR_GRAPH_TYPE::vertices_size_type count,
- BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
+ BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
 { return g.add_vertices(count); }
 
 template<BOOST_DISTRIB_CSR_GRAPH_TEMPLATE_PARMS, typename InputIterator>
 void
 add_edges(InputIterator first, InputIterator last,
- BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
+ BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
 { g.add_edges(first, last); }
 
 template<BOOST_DISTRIB_CSR_GRAPH_TEMPLATE_PARMS, typename InputIterator,
- typename EdgePropertyIterator>
+ typename EdgePropertyIterator>
 void
 add_edges(InputIterator first, InputIterator last,
- EdgePropertyIterator ep_iter,
- EdgePropertyIterator ep_iter_end,
- BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
+ EdgePropertyIterator ep_iter,
+ EdgePropertyIterator ep_iter_end,
+ BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
 { return g.add_edges(first, last, ep_iter, ep_iter_end); }
 
 template<BOOST_DISTRIB_CSR_GRAPH_TEMPLATE_PARMS, typename InputIterator>
 void
 add_edges_sorted(InputIterator first, InputIterator last,
- BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
+ BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
 { return g.add_edges_sorted(first, last); }
 
 template<BOOST_DISTRIB_CSR_GRAPH_TEMPLATE_PARMS, typename InputIterator,
- typename EdgePropertyIterator>
+ typename EdgePropertyIterator>
 void
 add_edges_sorted(InputIterator first_sorted, InputIterator last_sorted,
- EdgePropertyIterator ep_iter_sorted,
- BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
+ EdgePropertyIterator ep_iter_sorted,
+ BOOST_DISTRIB_CSR_GRAPH_TYPE& g)
 { g.add_edges_sorted(first_sorted, last_sorted, ep_iter_sorted); }
 #endif
 

Modified: trunk/libs/graph/example/cycle_ratio_example.cpp
==============================================================================
--- trunk/libs/graph/example/cycle_ratio_example.cpp (original)
+++ trunk/libs/graph/example/cycle_ratio_example.cpp 2009-07-19 11:32:27 EDT (Sun, 19 Jul 2009)
@@ -34,10 +34,10 @@
     rng.seed(uint32_t(time(0)));
     boost::generate_random_graph(g, nV, nE, rng, true, true);
     boost::uniform_real<> ur(-1,10);
- boost::variate_generator<boost::mt19937&, boost::uniform_real<> > ew1rg(rng, ur);
+ boost::variate_generator<boost::mt19937&, boost::uniform_real<> > ew1rg(rng, ur);
     randomize_property<edge_weight_t>(g, ew1rg);
     boost::uniform_int<size_t> uint(1,5);
- boost::variate_generator<boost::mt19937&, boost::uniform_int<size_t> > ew2rg(rng, uint);
+ boost::variate_generator<boost::mt19937&, boost::uniform_int<size_t> > ew2rg(rng, uint);
     randomize_property<edge_weight2_t>(g, ew2rg);
 }
 

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-19 11:32:27 EDT (Sun, 19 Jul 2009)
@@ -360,7 +360,7 @@
       seqGraph;
     
     seqGraph sg(edges_are_sorted,
- sorted_rmat_iterator<RandomGenerator, seqGraph>(gen, N, M, a, b, c, d),
+ 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);
@@ -396,7 +396,7 @@
       seqGraph;
     
     seqGraph sg(edges_are_sorted,
- sorted_unique_rmat_iterator<RandomGenerator, seqGraph>(gen, N, M, a, b, c, d),
+ 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);
@@ -431,7 +431,7 @@
       seqGraph;
     
     seqGraph sg(edges_are_sorted,
- sorted_erdos_renyi_iterator<RandomGenerator, seqGraph>(gen, N, _p/2),
+ 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);
@@ -467,7 +467,7 @@
       seqGraph;
     
     seqGraph sg(edges_are_sorted,
- small_world_iterator<RandomGenerator, seqGraph>(gen, N, k, p),
+ small_world_iterator<RandomGenerator, seqGraph>(gen, N, k, p),
                 small_world_iterator<RandomGenerator, seqGraph>(),
                 make_generator_iterator(gen, uniform_int<int>(1, C)),
                 N);

Modified: trunk/libs/graph_parallel/test/distributed_betweenness_centrality_test.cpp
==============================================================================
--- trunk/libs/graph_parallel/test/distributed_betweenness_centrality_test.cpp (original)
+++ trunk/libs/graph_parallel/test/distributed_betweenness_centrality_test.cpp 2009-07-19 11:32:27 EDT (Sun, 19 Jul 2009)
@@ -153,9 +153,9 @@
 
   seqGraph sg(
 #ifdef CSR
- edges_are_sorted,
+ edges_are_sorted,
 #endif
- ERIter(gen, n, prob), ERIter(),
+ ERIter(gen, n, prob), ERIter(),
               make_generator_iterator(gen, uniform_int<int>(1, C)),
               n);
 

Modified: trunk/libs/graph_parallel/test/distributed_st_connected_test.cpp
==============================================================================
--- trunk/libs/graph_parallel/test/distributed_st_connected_test.cpp (original)
+++ trunk/libs/graph_parallel/test/distributed_st_connected_test.cpp 2009-07-19 11:32:27 EDT (Sun, 19 Jul 2009)
@@ -55,11 +55,11 @@
   {
     typedef std::pair<int, int> E;
     E edge_array[] = { E(u, u), E(u, v), E(u, w), E(v, w), E(x, y),
- E(x, z), E(z, y), E(z, z) };
+ E(x, z), E(z, y), E(z, z) };
     Graph g(edge_array, edge_array + sizeof(edge_array) / sizeof(E), N);
 
     bool connected = st_connected(g, vertex(u, g), vertex(z, g),
- get(vertex_color, g), get(vertex_owner, g));
+ get(vertex_color, g), get(vertex_owner, g));
 
     assert(!connected);
   }
@@ -67,11 +67,11 @@
   {
     typedef std::pair<int, int> E;
     E edge_array[] = { E(u, v), E(u, w), E(u, x), E(x, v), E(y, x),
- E(v, y), E(w, y), E(w, z), E(z, z) };
+ E(v, y), E(w, y), E(w, z), E(z, z) };
     Graph g(edge_array, edge_array + sizeof(edge_array) / sizeof(E), N);
 
     bool connected = st_connected(g, vertex(u, g), vertex(z, g),
- get(vertex_color, g), get(vertex_owner, g));
+ get(vertex_color, g), get(vertex_owner, g));
 
     assert(connected);
   }

Modified: trunk/libs/graph_parallel/test/ssca.cpp
==============================================================================
--- trunk/libs/graph_parallel/test/ssca.cpp (original)
+++ trunk/libs/graph_parallel/test/ssca.cpp 2009-07-19 11:32:27 EDT (Sun, 19 Jul 2009)
@@ -617,7 +617,7 @@
 
 #ifdef CSR
   seqGraph sg(edges_are_sorted,
- sorted_unique_rmat_iterator<RandomGenerator, seqGraph>(gen, n, m, a, b, c, d),
+ 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>(0, maxEdgeWeight)),
               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