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

Implement Index and IndexMut std traits for Graph and Path #15

Open
pnevyk opened this issue Feb 13, 2022 · 1 comment
Open

Implement Index and IndexMut std traits for Graph and Path #15

pnevyk opened this issue Feb 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@pnevyk
Copy link
Owner

pnevyk commented Feb 13, 2022

Implement Index and IndexMut trais for Graph and Path (and other graph wrappers if new are implemented before this is done).

These operations should be implemented both for vertex index and edge index types, so it is possible to get a vertex data by indexing with vertex index and edge data by edge index.

@pnevyk pnevyk added the good first issue Good for newcomers label Feb 13, 2022
@pnevyk pnevyk added the enhancement New feature or request label Feb 25, 2023
@pnevyk
Copy link
Owner Author

pnevyk commented Mar 10, 2023

This is not going to be straightforward, because since the implementation of generic indices (issue #17, PR #19), the compiler can't guarantee that vertex index and edge index are different types.

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

No branches or pull requests

1 participant