|
Boost-Commit : |
From: asutton_at_[hidden]
Date: 2007-08-14 08:17:06
Author: asutton
Date: 2007-08-14 08:17:06 EDT (Tue, 14 Aug 2007)
New Revision: 38652
URL: http://svn.boost.org/trac/boost/changeset/38652
Log:
Added concept check based on measure archetype
Text files modified:
sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp
==============================================================================
--- sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp (original)
+++ sandbox/SOC/2007/graphs/libs/graph/test/concept/degree_centrality_check.cpp 2007-08-14 08:17:06 EDT (Tue, 14 Aug 2007)
@@ -27,12 +27,14 @@
IncidenceGraph
> Graph;
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;
degree_centrality(g, cm);
- degree_centrality(g, cm, measure_influence(g));
+ degree_centrality(g, cm, m);
}
// There isn't a bidirectional graph archetype so I don't really know
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