Contract the exclude-flag sub-graphs as well

This commit is contained in:
Patrick Niklaus 2017-10-23 23:09:25 +00:00
parent 29ce651493
commit 6be468bdb4

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)));
}