diff --git a/cpp/graph.hpp b/cpp/graph.hpp index f233d4c98ea6c3df4926a36a6c22d2b1a36917e6..ec318ad7193fbffdbac51fc7167fe825ac4dd653 100644 --- a/cpp/graph.hpp +++ b/cpp/graph.hpp @@ -56,6 +56,8 @@ class Graph { const Edge &getEdge(unsigned int i) const { return edges[i].e; } + const auto& getAdj() const { return adj; } + // When the degree sequence is not graphics, the Graph can be // in any state, it is not neccesarily empty bool createFromDegreeSequence(const DegreeSequence &d) {