35 template <
typename EdgeContainer>
36 bool check_edge_vertices(
const std::vector<VertexInterface*>& vertices, EdgeContainer& edges)
38 for (
int i = 0; i < edges.size(); ++i)
40 EdgeInterface* edge = edges[i].get();
41 for (
int i = 0; i < edge->getNumVertices(); ++i)
43 auto it = std::find(vertices.begin(), vertices.end(), edge->getVertexRaw(i));
44 if (it == vertices.end())
return false;
54 std::vector<VertexInterface*> vertices;