mirror of
https://github.com/boostorg/graph.git
synced 2026-01-29 07:32:21 +00:00
Merged Boost.Graph, Boost.Graph.Parallel, and Boost.PropertyMap changes from Boost trunk
[SVN r85813]
This commit is contained in:
@@ -64,7 +64,8 @@ int main(int argc, char** argv)
|
||||
std::vector<vec_t> embedding(num_vertices(g));
|
||||
if (boyer_myrvold_planarity_test(boyer_myrvold_params::graph = g,
|
||||
boyer_myrvold_params::embedding =
|
||||
&embedding[0]
|
||||
make_iterator_property_map(
|
||||
embedding.begin(), get(vertex_index, g))
|
||||
)
|
||||
)
|
||||
std::cout << "Input graph is planar" << std::endl;
|
||||
@@ -75,7 +76,10 @@ int main(int argc, char** argv)
|
||||
ordering_storage_t;
|
||||
|
||||
ordering_storage_t ordering;
|
||||
planar_canonical_ordering(g, &embedding[0], std::back_inserter(ordering));
|
||||
planar_canonical_ordering(g,
|
||||
make_iterator_property_map(
|
||||
embedding.begin(), get(vertex_index, g)),
|
||||
std::back_inserter(ordering));
|
||||
|
||||
ordering_storage_t::iterator oi, oi_end;
|
||||
oi_end = ordering.end();
|
||||
|
||||
Reference in New Issue
Block a user