From 63f4cb943f81c257e78ebeef828edbc04e78264b Mon Sep 17 00:00:00 2001 From: Stoycho Kyosev Date: Wed, 4 Jan 2023 15:07:15 +0200 Subject: Add seminar 12 --- Seminar11/Graph-Impl/MatrixGraph/MatrixGraph.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Seminar11/Graph-Impl/MatrixGraph/MatrixGraph.h') diff --git a/Seminar11/Graph-Impl/MatrixGraph/MatrixGraph.h b/Seminar11/Graph-Impl/MatrixGraph/MatrixGraph.h index 1e4ec71..aade1a1 100644 --- a/Seminar11/Graph-Impl/MatrixGraph/MatrixGraph.h +++ b/Seminar11/Graph-Impl/MatrixGraph/MatrixGraph.h @@ -45,6 +45,8 @@ class MatrixGraph { std::vector getSuccessors(vertex_t) const; std::vector getPredecessors(vertex_t) const; + // Same as getSuccessors, here for interface purposes. + std::vector adjacent(vertex_t) const; }; #endif \ No newline at end of file -- cgit v1.3.1-26-gb76a