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

Provide support to change accumulated cost #18

Open
fisadev opened this issue Nov 16, 2012 · 1 comment
Open

Provide support to change accumulated cost #18

fisadev opened this issue Nov 16, 2012 · 1 comment

Comments

@fisadev
Copy link
Member

fisadev commented Nov 16, 2012

The original Problem.cost() on aima-python receives the state, the actions, and the total cost, and expects to a new total cost to be returned. On simpleai we have changed that, to accept only the states and the action, and expect just the cost of that action to be returned. But this doesn't works for problem with actions that alter the costs of the previously taken actions.

@fisadev
Copy link
Member Author

fisadev commented Nov 16, 2012

I have the patch to the code, but need to update all the docs. I will do that on the next few days.

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

No branches or pull requests

1 participant