We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad83228 commit f3fc883Copy full SHA for f3fc883
cp-algo/graph/base.hpp
@@ -44,8 +44,8 @@ namespace cp_algo::graph {
44
}
45
auto const& incidence_lists() const {return _adj;}
46
edge_t const& edge(edge_index e) const {return edges[e];}
47
- size_t n() const {return _adj.size();}
48
- size_t m() const {return size(edges) / 2;}
+ node_index n() const {return _adj.size();}
+ edge_index m() const {return size(edges) / 2;}
49
private:
50
node_index v0;
51
std::vector<edge_t> edges;
0 commit comments