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

Malfunction pull request #29

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

FeignDeath
Copy link
Contributor

The following changes are as follows:

  • Changes to actionlist.py, api.py and convert.py implement the message passing from save to load together with some parts of the old malfunction passing. This provides save/1, load/1 and malfunction/3.
  • solve.py was changed to call the right functions and also handle the absence of a secondary encoding correctly. Previusly an empty secondary encoding would lead to an error, now the already set up behavior of falling back to the primary encoding works. The merge also
  • envs/.../malfunction_test.lp, -.pkl and -.png are just random instances which were generated with instances for testing
  • asp/malfunctions_test.pl provides a stupid encoding. It just has every train moving forward, but illustrates how save/1. load/1 and malfunction/3 work. The corresponding params.py was adapted to use it.
  • The params.py for building instances was kept simple to reduce confusion.

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

Successfully merging this pull request may close these issues.

1 participant