Skip to content
Snippets Groups Projects
Commit d9b6998b authored by p-hamann's avatar p-hamann
Browse files

Adapt to uniform parameter identifier

parent 28ca0317
No related merge requests found
......@@ -7,6 +7,6 @@ unsigned int graph::num_vertices() const {
return vertices;
}
std::vector<unsigned int> graph::get_adjacency(vertex_id vertex) const {
return adjacency_list[vertex-1];
std::vector<unsigned int> graph::get_adjacency(vertex_id v) const {
return adjacency_list[v-1];
}
......@@ -21,7 +21,7 @@ public:
* @param Vertex Id
* @return Adjacency of the vertex
*/
std::vector<unsigned int> get_adjacency(vertex_id vertex) const;
std::vector<unsigned int> get_adjacency(vertex_id v) const;
private:
unsigned int vertices;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment