diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:05:34 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:06:28 +0900 |
commit | 34bd32e225e2a8a94104489b31c42e5801cc1f4a (patch) | |
tree | d021b579a0c190354819974e1eaf0baa54b551f3 /boost/graph/vf2_sub_graph_iso.hpp | |
parent | f763a99a501650eff2c60288aa6f10ef916d769e (diff) | |
download | boost-34bd32e225e2a8a94104489b31c42e5801cc1f4a.tar.gz boost-34bd32e225e2a8a94104489b31c42e5801cc1f4a.tar.bz2 boost-34bd32e225e2a8a94104489b31c42e5801cc1f4a.zip |
Imported Upstream version 1.63.0upstream/1.63.0
Change-Id: Iac85556a04b7e58d63ba636dedb0986e3555714a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/graph/vf2_sub_graph_iso.hpp')
-rw-r--r-- | boost/graph/vf2_sub_graph_iso.hpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/boost/graph/vf2_sub_graph_iso.hpp b/boost/graph/vf2_sub_graph_iso.hpp index f86b6ee2a0..564b00f3d3 100644 --- a/boost/graph/vf2_sub_graph_iso.hpp +++ b/boost/graph/vf2_sub_graph_iso.hpp @@ -113,16 +113,13 @@ namespace boost { IndexMapThis index_map_this, IndexMapOther index_map_other) : graph_this_(graph_this), graph_other_(graph_other), index_map_this_(index_map_this), index_map_other_(index_map_other), + core_vec_(num_vertices(graph_this_), graph_traits<GraphOther>::null_vertex()), + core_(core_vec_.begin(), index_map_this_), + in_vec_(num_vertices(graph_this_), 0), + out_vec_(num_vertices(graph_this_), 0), + in_(in_vec_.begin(), index_map_this_), + out_(out_vec_.begin(), index_map_this_), term_in_count_(0), term_out_count_(0), term_both_count_(0), core_count_(0) { - - core_vec_.resize(num_vertices(graph_this_), graph_traits<GraphOther>::null_vertex()); - core_ = make_iterator_property_map(core_vec_.begin(), index_map_this_); - - in_vec_.resize(num_vertices(graph_this_), 0); - in_ = make_iterator_property_map(in_vec_.begin(), index_map_this_); - - out_vec_.resize(num_vertices(graph_this_), 0); - out_ = make_iterator_property_map(out_vec_.begin(), index_map_this_); } // Adds a vertex pair to the state of graph graph_this |