diff --git a/fpga/include/villas/directed_graph.hpp b/fpga/include/villas/directed_graph.hpp index 48899a606..0af3abf36 100644 --- a/fpga/include/villas/directed_graph.hpp +++ b/fpga/include/villas/directed_graph.hpp @@ -58,6 +58,12 @@ public: operator==(const Edge& other) { return this->id == other.id; } + Vertex::Identifier getVertexTo() const + { return to; } + + Vertex::Identifier getVertexFrom() const + { return from; } + private: Identifier id; Vertex::Identifier from;