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

Subset Network method #51

Closed
KasiaKoz opened this issue Jan 28, 2021 · 1 comment
Closed

Subset Network method #51

KasiaKoz opened this issue Jan 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@KasiaKoz
Copy link
Collaborator

Right now we only have a method to extract a subgraph of the genet.Network.graph on user-defined conditions subgraph_on_link_conditions. This could and should be extended to a subset_network_on_conditions method which returns another instance of genet.Network. This new object has the graph attribute given using subgraph_on_link_conditions, its' link_id_mapping attribute is subsetted accordingly too. In the first instance it could raise a NotImplemented error if this network has a non-empty Schedule element, until a similar subset_schedule_on_conditions method is developed.

@KasiaKoz KasiaKoz added the enhancement New feature or request label Jan 28, 2021
@KasiaKoz
Copy link
Collaborator Author

KasiaKoz commented Apr 1, 2022

#103

@KasiaKoz KasiaKoz closed this as completed Apr 1, 2022
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