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

Move to numpy random generator decorator #90

Open
CharJon opened this issue Jan 25, 2021 · 0 comments
Open

Move to numpy random generator decorator #90

CharJon opened this issue Jan 25, 2021 · 0 comments
Labels
enhancement New feature or request postponed This issue is relevant, but postponed for now

Comments

@CharJon
Copy link
Owner

CharJon commented Jan 25, 2021

Currently we are using the networkx decorator for randomness.
The design is tailored to not require numpy, but as we build on numpy anyways, we could write our own decorator.
Possible benefits:

  • Easier to understand decorator, as we can keep the code way more compact than numpys implementation
  • Better performance and more functions, as e.g. arrays of random elements can be created at once.

Link to numpy random generators.

@CharJon CharJon added the enhancement New feature or request label Jan 25, 2021
@mmghannam mmghannam added the postponed This issue is relevant, but postponed for now label Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request postponed This issue is relevant, but postponed for now
Projects
None yet
Development

No branches or pull requests

2 participants