Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Implemented 11.1 Job-Shop-Problem #422

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

Closed
wants to merge 13 commits into from
Closed

Implemented 11.1 Job-Shop-Problem #422

wants to merge 13 commits into from

Conversation

kaivalyar
Copy link
Contributor

11.1: Job-Shop-Problem-With-Resources (previously unimplemented)

  • Created HLA class to model chapter 11 HLAs in planning.py as opposed to the chapter 10 Actions (by inheriting from and extending the Action class)
  • Similarly, created the (real-world) Problem class to model problems with resources and ordering constraints from chapter 11
  • Wrote the job_shop_problem function that builds and returns the problem as specified in figure 11.1
  • Made the file pep8 compatible using flake8, wrote docstrings, and added a unit-test for all of the above.

I am hoping to now use the HLA and Problem classes to implement Refinement, Hierarchical Search, and Angelic Search. I sent this PR despite not having finished those yet just to check if my approach for modelling HLA and Problem were okay. I will update the code with the remaining chapter 11 implementations soon if these are okay.

(As mentioned in #274 using FolKB may be unnecessary. However, since HLA inherits from Action, corresponding changes to the Action implementation should already reflect automatically. If there are any other similar design issues that may require changes, I would be happy to modify this PR accordingly.)

@kaivalyar
Copy link
Contributor Author

The build failure is a result of #413 getting merged, as stated in #416.

@kaivalyar kaivalyar changed the title 11.1 Job-Shop-Problem Implemented 11.1 Job-Shop-Problem Mar 28, 2017
@kaivalyar
Copy link
Contributor Author

This PR has developed merge conflicts, so closing it and creating a new one.

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.

2 participants