Boost logo

Boost-Commit :

From: asutton_at_[hidden]
Date: 2007-08-24 09:29:56


Author: asutton
Date: 2007-08-24 09:29:55 EDT (Fri, 24 Aug 2007)
New Revision: 38893
URL: http://svn.boost.org/trac/boost/changeset/38893

Log:
Still reo-orging the test dir

Added:
   sandbox/SOC/2007/graphs/libs/graph/test/compile/
      - copied from r38847, /sandbox/SOC/2007/graphs/libs/graph/test/concept/
   sandbox/SOC/2007/graphs/libs/graph/test/compile/Jamfile.v2
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/Jamfile.v2
   sandbox/SOC/2007/graphs/libs/graph/test/compile/archetypes.hpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/archetypes.hpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/bron_kerbosch_all_cliques.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/bron_kerbosch_all_cliques.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/closeness_centrality.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/closeness_centrality.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/clustering_coefficient.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/clustering_coefficient.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/degree_centrality.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/eccentricity.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/eccentricity.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/mean_geodesic.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/mean_geodesic.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/new_archetypes.hpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/new_archetypes.hpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/test_new_archetypes.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/test_new_archetypes.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/tiernan_all_cycles.cpp
      - copied unchanged from r38888, /sandbox/SOC/2007/graphs/libs/graph/test/concept/tiernan_all_cycles.cpp
Removed:
   sandbox/SOC/2007/graphs/libs/graph/test/compile/closeness_centrality_check.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/degree_centrality_check.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/eccentricity_check.cpp
   sandbox/SOC/2007/graphs/libs/graph/test/compile/mean_geodesic_check.cpp

Deleted: /sandbox/SOC/2007/graphs/libs/graph/test/concept/closeness_centrality_check.cpp
==============================================================================
--- /sandbox/SOC/2007/graphs/libs/graph/test/concept/closeness_centrality_check.cpp 2007-08-24 09:29:55 EDT (Fri, 24 Aug 2007)
+++ (empty file)
@@ -1,54 +0,0 @@
-// (C) Copyright Andrew Sutton 2007
-//
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0 (See accompanying file
-// LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-
-#include "archetypes.hpp"
-#include <boost/graph/closeness_centrality.hpp>
-
-using namespace std;
-using namespace boost;
-
-int
-main(int argc, char *argv[])
-{
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef Graph::vertex_descriptor Vertex;
- typedef writable_property_map_archetype<Vertex, float> CentralityMap;
- typedef readable_property_map_archetype<Vertex, size_t> DistanceMap;
- typedef readable_property_map_archetype<Vertex, DistanceMap> DistanceMatrix;
- typedef distance_measure_archetype<Graph, size_t, float> Measure;
-
- Graph& g = static_object<Graph>::get();
- CentralityMap cm;
- DistanceMatrix dm;
- Measure m;
-
- all_closeness_centralities(g, dm, cm);
- all_closeness_centralities(g, dm, cm, m);
- }
-
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef Graph::vertex_descriptor Vertex;
- typedef readable_property_map_archetype<Vertex, size_t> DistanceMap;
- typedef distance_measure_archetype<Graph, size_t, float> Measure;
-
- Graph& g = static_object<Graph>::get();
- DistanceMap dm;
- Measure m;
-
- closeness_centrality(g, dm);
- closeness_centrality(g, dm, m);
- }
-
- return 0;
-}

Deleted: /sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp
==============================================================================
--- /sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp 2007-08-24 09:29:55 EDT (Fri, 24 Aug 2007)
+++ (empty file)
@@ -1,95 +0,0 @@
-// (C) Copyright Andrew Sutton 2007
-//
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0 (See accompanying file
-// LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-
-#include "archetypes.hpp"
-#include <boost/graph/degree_centrality.hpp>
-
-using namespace std;
-using namespace boost;
-
-int
-main(int argc, char *argv[])
-{
- {
- typedef incidence_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > IncidenceGraph;
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag,
- IncidenceGraph
- > Graph;
- typedef Graph::vertex_descriptor Vertex;
- typedef writable_property_map_archetype<Vertex, size_t> CentralityMap;
- typedef degree_measure_archetype<Graph> Measure;
-
- Graph& g = static_object<Graph>::get();
- CentralityMap cm;
- Measure m;
-
- all_degree_centralities(g, cm);
- all_degree_centralities(g, cm, m);
- }
-
- {
- typedef vertex_list_graph_archetype<
- directed_tag,
- allow_parallel_edge_tag
- > VertexListGraph;
- typedef bidirectional_graph_archetype<
- directed_tag,
- allow_parallel_edge_tag,
- VertexListGraph
- > Graph;
- typedef Graph::vertex_descriptor Vertex;
- typedef read_write_property_map_archetype<Vertex, size_t> CentralityMap;
- typedef degree_measure_archetype<Graph> Measure;
-
- Graph& g = static_object<Graph>::get();
- CentralityMap cm;
- Measure m;
-
- all_influence_values(g, cm);
- all_prestige_values(g, cm);
- all_degree_centralities(g, cm, m);
- }
-
- {
- typedef incidence_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef Graph::vertex_descriptor Vertex;
- typedef degree_measure_archetype<Graph> Measure;
-
- Graph& g = static_object<Graph>::get();
- Vertex v = static_object<Vertex>::get();
- Measure m;
-
- degree_centrality(g, v);
- degree_centrality(g, v, m);
- }
-
- {
- typedef bidirectional_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef Graph::vertex_descriptor Vertex;
- typedef degree_measure_archetype<Graph> Measure;
-
- Graph& g = static_object<Graph>::get();
- Vertex v = static_object<Vertex>::get();
- Measure m;
-
- influence(g, v);
- prestige(g, v);
- degree_centrality(g, v, m);
- }
-
- return 0;
-}

Deleted: /sandbox/SOC/2007/graphs/libs/graph/test/concept/eccentricity_check.cpp
==============================================================================
--- /sandbox/SOC/2007/graphs/libs/graph/test/concept/eccentricity_check.cpp 2007-08-24 09:29:55 EDT (Fri, 24 Aug 2007)
+++ (empty file)
@@ -1,64 +0,0 @@
-// (C) Copyright Andrew Sutton 2007
-//
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0 (See accompanying file
-// LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-
-#include "archetypes.hpp"
-#include <boost/graph/eccentricity.hpp>
-
-using namespace std;
-using namespace boost;
-
-int
-main(int argc, char *argv[])
-{
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef graph_traits<Graph>::vertex_descriptor Vertex;
- typedef writable_property_map_archetype<Vertex, float> EccentricityMap;
- typedef readable_property_map_archetype<Vertex, size_t> DistanceMap;
- typedef readable_property_map_archetype<Vertex, DistanceMap> DistanceMatrix;
-
- Graph& g = static_object<Graph>::get();
- EccentricityMap em;
- DistanceMatrix dm;
-
- all_eccentricities(g, dm, em);
- }
-
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef graph_traits<Graph>::vertex_descriptor Vertex;
- typedef readable_property_map_archetype<Vertex, size_t> DistanceMap;
-
- Graph& g = static_object<Graph>::get();
- DistanceMap dm;
-
- eccentricity(g, dm);
- }
-
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef graph_traits<Graph>::vertex_descriptor Vertex;
- typedef readable_property_map_archetype<Vertex, size_t> EccentricityMap;
-
- Graph& g = static_object<Graph>::get();
- EccentricityMap em;
-
- radius(g, em);
- diameter(g, em);
- radius_and_diameter(g, em);
- }
-
- return 0;
-}

Deleted: /sandbox/SOC/2007/graphs/libs/graph/test/concept/mean_geodesic_check.cpp
==============================================================================
--- /sandbox/SOC/2007/graphs/libs/graph/test/concept/mean_geodesic_check.cpp 2007-08-24 09:29:55 EDT (Fri, 24 Aug 2007)
+++ (empty file)
@@ -1,71 +0,0 @@
-// (C) Copyright Andrew Sutton 2007
-//
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0 (See accompanying file
-// LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-
-#include "archetypes.hpp"
-#include <boost/graph/geodesic_distance.hpp>
-
-using namespace std;
-using namespace boost;
-
-int
-main(int argc, char *argv[])
-{
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef graph_traits<Graph>::vertex_descriptor Vertex;
- typedef writable_property_map_archetype<Vertex, float> CentralityMap;
- typedef readable_property_map_archetype<Vertex, size_t> DistanceMap;
- typedef readable_property_map_archetype<Vertex, DistanceMap> DistanceMatrix;
- typedef distance_measure_archetype<Graph, size_t, float> Measure;
-
- Graph& g = static_object<Graph>::get();
- CentralityMap cm;
- DistanceMatrix dm;
- Measure m;
-
- all_mean_geodesics(g, dm, cm);
- all_mean_geodesics(g, dm, cm, m);
- }
-
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef graph_traits<Graph>::vertex_descriptor Vertex;
- typedef readable_property_map_archetype<Vertex, size_t> DistanceMap;
- typedef distance_measure_archetype<Graph, size_t, float> Measure;
-
- Graph& g = static_object<Graph>::get();
- DistanceMap dm;
- Measure m;
-
- mean_geodesic(g, dm);
- mean_geodesic(g, dm, m);
- }
-
- {
- typedef vertex_list_graph_archetype<
- undirected_tag,
- allow_parallel_edge_tag
- > Graph;
- typedef graph_traits<Graph>::vertex_descriptor Vertex;
- typedef readable_property_map_archetype<Vertex, float> CentralityMap;
- typedef distance_measure_archetype<Graph, float, float> Measure;
-
- Graph& g = static_object<Graph>::get();
- CentralityMap cm;
- Measure m;
-
- small_world_distance(g, cm);
- small_world_distance(g, cm, m);
- }
-
- return 0;
-}


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