Store and pass segregated flag to the data facade.

This commit is contained in:
vng
2017-10-14 15:21:31 +03:00
committed by Michael Krasnyk
parent ee7912f882
commit ac5e095d17
5 changed files with 16 additions and 6 deletions
@@ -885,6 +885,11 @@ class ContiguousInternalMemoryDataFacadeBase : public BaseDataFacade
// TODO: can be moved to a data block indexed by GeometryID
return edge_based_node_data.IsLeftHandDriving(id);
}
bool IsSegregated(const NodeID id) const override final
{
return edge_based_node_data.IsSegregated(id);
}
};
template <typename AlgorithmT> class ContiguousInternalMemoryDataFacade;