]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/graph/example/labeled_graph.cpp
1 // (C) Copyright 2009 Andrew Sutton
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0 (See accompanying file
5 // LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
11 This example does not compile, see https://github.com/boostorg/graph/issues/147
18 #include <boost/graph/directed_graph.hpp>
19 #include <boost/graph/labeled_graph.hpp>
21 using namespace boost
;
26 using namespace boost::graph_detail
;
28 typedef directed_graph
<> Digraph
;
31 typedef labeled_graph
<Digraph
, unsigned> Graph
;
40 typedef labeled_graph
<Digraph
, string
> Graph
;
47 typedef labeled_graph
<Digraph
, string
, mapS
> Graph
;
55 typedef labeled_graph
<Digraph
*, int> TempGraph
;
63 // This is actually a fairly complicated specialization.
64 typedef adjacency_list
<vecS
, vecS
, bidirectionalS
> G
;
65 typedef labeled_graph
<G
, size_t> Graph
;