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

Make processes requiring new link ID assignment deterministic #166

Open
KasiaKoz opened this issue Dec 13, 2022 · 0 comments
Open

Make processes requiring new link ID assignment deterministic #166

KasiaKoz opened this issue Dec 13, 2022 · 0 comments

Comments

@KasiaKoz
Copy link
Collaborator

Right now processes in GeNet such as:

  • splitting a link
  • simplification

result in links being added, and running the same process twice gives different IDs to different links. The link IDs are currently the smallest integers that are not currently being used in the network - so the method generating IDs should already be giving the same set of IDs (given the exact same set-up and inputs).

The problems I see:

  • when these IDs are distributed to the different links that are being added there is no order to who gets which ID - hence different answer each time
  • we sometimes make small changes, it would be good to have more meaningful indexing that would persist even when input/setup are not entirely the same
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