From 160dcc1a80cd10ff658ca23c784697d5d738e25b Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Fri, 17 May 2019 09:12:29 +0200 Subject: [PATCH] Add Edge::neighborEdges --- include/hpp/manipulation/graph/state.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/hpp/manipulation/graph/state.hh b/include/hpp/manipulation/graph/state.hh index 62a4fa7c..6e0a5008 100644 --- a/include/hpp/manipulation/graph/state.hh +++ b/include/hpp/manipulation/graph/state.hh @@ -100,6 +100,12 @@ namespace hpp { return neighbors_; } + /// Get the neighbors + Edges_t neighborEdges() const + { + return neighbors_.values(); + } + /// Get the hidden neighbors /// It is a vector of transitions outgoing from this state and that are /// included in a waypoint edge. -- GitLab