2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-27 17:12:11 +00:00

added edge_color_map

[SVN r14969]
This commit is contained in:
Jeremy Siek
2002-08-19 22:15:44 +00:00
parent e9152d8d8d
commit 6a35e532d7

View File

@@ -41,6 +41,7 @@ namespace boost {
struct vertex_invariant_t { };
struct vertex_invariant1_t { };
struct vertex_invariant2_t { };
struct edge_compare_t { };
struct vertex_max_invariant_t { };
struct orig_to_copy_t { };
struct root_vertex_t { };
@@ -123,6 +124,20 @@ namespace boost {
return Params(pmap, *this);
}
template <typename ColorMap>
bgl_named_params<ColorMap, vertex_color_t, self>
vertex_color_map(const ColorMap& pmap) const {
typedef bgl_named_params<ColorMap, vertex_color_t, self> Params;
return Params(pmap, *this);
}
template <typename ColorMap>
bgl_named_params<ColorMap, edge_color_t, self>
edge_color_map(const ColorMap& pmap) const {
typedef bgl_named_params<ColorMap, edge_color_t, self> Params;
return Params(pmap, *this);
}
template <typename CapacityMap>
bgl_named_params<CapacityMap, edge_capacity_t, self>
capacity_map(CapacityMap pmap) {