-
Notifications
You must be signed in to change notification settings - Fork 91
feat(tsp): generator #137
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
feat(tsp): generator #137
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your contribution, the PR looks really good. I have approved yet left a few comments on small things. Please let me know if they make sense.
Co-authored-by: Clément Bonnet <56230714+clement-bonnet@users.noreply.github.com>
Co-authored-by: Clément Bonnet <56230714+clement-bonnet@users.noreply.github.com>
Co-authored-by: Clément Bonnet <56230714+clement-bonnet@users.noreply.github.com>
Co-authored-by: Clément Bonnet <56230714+clement-bonnet@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
Implement a
Generator
class for the TSP environment which is responsible for generating the TSP instances. This will include the following additions:generator.py
script added to thetsp
folder which implements an abstract classGenerator
and aRandomGenerator
to create a random uniform TSP instance.generator_test.py
script to test the generator.env.py
to include the generator in theinit
method and changes toconftest.py
to include aDummyGenerator
for testing purposes.