|
Boost-Commit : |
From: asutton_at_[hidden]
Date: 2007-08-22 11:06:39
Author: asutton
Date: 2007-08-22 11:06:38 EDT (Wed, 22 Aug 2007)
New Revision: 38848
URL: http://svn.boost.org/trac/boost/changeset/38848
Log:
Renamed a bunch of files
Added:
sandbox/SOC/2007/graphs/libs/graph/test/concept/closeness_centrality.cpp
- copied unchanged from r38847, /sandbox/SOC/2007/graphs/libs/graph/test/concept/closeness_centrality_check.cpp
sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality.cpp
- copied unchanged from r38847, /sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp
sandbox/SOC/2007/graphs/libs/graph/test/concept/eccentricity.cpp
- copied unchanged from r38847, /sandbox/SOC/2007/graphs/libs/graph/test/concept/eccentricity_check.cpp
sandbox/SOC/2007/graphs/libs/graph/test/concept/mean_geodesic.cpp
- copied unchanged from r38847, /sandbox/SOC/2007/graphs/libs/graph/test/concept/mean_geodesic_check.cpp
Removed:
sandbox/SOC/2007/graphs/libs/graph/test/concept/closeness_centrality_check.cpp
sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp
sandbox/SOC/2007/graphs/libs/graph/test/concept/eccentricity_check.cpp
sandbox/SOC/2007/graphs/libs/graph/test/concept/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-22 11:06:38 EDT (Wed, 22 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-22 11:06:38 EDT (Wed, 22 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-22 11:06:38 EDT (Wed, 22 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-22 11:06:38 EDT (Wed, 22 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