Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EdgeSet : create a to_by_edge_iter #5

Open
jferard opened this issue Jun 25, 2017 · 0 comments
Open

EdgeSet : create a to_by_edge_iter #5

jferard opened this issue Jun 25, 2017 · 0 comments

Comments

@jferard
Copy link
Owner

jferard commented Jun 25, 2017

The EdgeSet trait provides the following method:

fn edges_by_to_iter(&self, &V) -> Iter<V, Self::S>;

where Self::S may be a usize or a set of usizes (many edges between two vertices).

It would be useful to have another iterator:

fn to_by_edge_iter(&self, &V) -> Iter<V, V>;

The iterator would return (edge, vertex) couples, the edge being unique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant