Skip to content

Provide support to change accumulated cost #18

@fisadev

Description

@fisadev

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions