Skip to content
Snippets Groups Projects
Commit 4d690af1 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[MeL] NodeAdjTable exposes node indices

parent 42f05581
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,11 @@ public:
return _data[node_id].size();
}
std::vector<std::size_t> const& getAdjacentNodes(std::size_t const node_id) const
{
return _data[node_id];
}
void createTable(std::vector<Node*> const& nodes)
{
if (_data.size() != nodes.size())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment