Contract the exclude-flag sub-graphs as well

This commit is contained in:
Patrick Niklaus 2017-10-23 23:09:25 +00:00 committed by Michael Krasnyk
parent 910ee0829f
commit c2a605a70d

View File

@ -81,6 +81,8 @@ inline auto contractExcludableGraph(ContractorGraph contractor_graph_,
auto filtered_core_graph =
shared_core_graph.Filter([&filter](const NodeID node) { return filter[node]; });
contractGraph(filtered_core_graph, is_shared_core, is_shared_core, node_weights);
edge_container.Merge(toEdges<QueryEdge>(std::move(filtered_core_graph)));
}