You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new methods listed below to Neighbors trait. All of them are aliases to an already-provided functionality so they should have a default implementation. These methods should also be added to graph encapsulations in graph module.
successors(&self, src: &Self::VertexIndex) -> Self::NeighborsIter<'_> aliased to self.neighbors_directed(src, Outgoing)
predecessors(&self, src: &Self::VertexIndex) -> Self::NeighborsIter<'_> aliased to self.neighbors_directed(src, Incoming)
out_degree(&self, src: &Self::VertexIndex) -> usize aliased to self.degree_directed(src, Outgoing)
in_degree(&self, src: &Self::VertexIndex) -> usize aliased to self.degree_directed(src, Incoming)
The text was updated successfully, but these errors were encountered:
Add new methods listed below to
Neighbors
trait. All of them are aliases to an already-provided functionality so they should have a default implementation. These methods should also be added to graph encapsulations ingraph
module.successors(&self, src: &Self::VertexIndex) -> Self::NeighborsIter<'_>
aliased toself.neighbors_directed(src, Outgoing)
predecessors(&self, src: &Self::VertexIndex) -> Self::NeighborsIter<'_>
aliased toself.neighbors_directed(src, Incoming)
out_degree(&self, src: &Self::VertexIndex) -> usize
aliased toself.degree_directed(src, Outgoing)
in_degree(&self, src: &Self::VertexIndex) -> usize
aliased toself.degree_directed(src, Incoming)
The text was updated successfully, but these errors were encountered: