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

Act doesn't perform correctly when state changes. #5

Open
zohreh-dannenhauer opened this issue Oct 23, 2018 · 1 comment
Open

Act doesn't perform correctly when state changes. #5

zohreh-dannenhauer opened this issue Oct 23, 2018 · 1 comment
Assignees
Labels

Comments

@zohreh-dannenhauer
Copy link
Collaborator

I faced a problem when state changes in execution time and Act doesn't perform correctly. The plan is not applicable in the current state because of the new change. The Plan phase generates a new plan and adds to it to the set of plans for that goal. Act checks each plan to see which one is applicable. Although it doesn't pick the right plan. It picks the old plan which is not applicable in the current state, and when it executes the action it says this action is illegal in the state.

@zohreh-dannenhauer
Copy link
Collaborator Author

I removed the old plans from the set of plans and it solved the problem. There might be an issue in this method in SimpleAct:
def get_best_plan(self, world, goals, verbose)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants