Skip to content

Planner does not allow for recursion #3

Description

@Dan-Nedelescu

In planner.py there is a section of code to prevent infinite looping, namely the following lines

if (str(action.head), str(action.preconditions), str(state)) in outer_visited: print("Outer Visited") break else: outer_visited.append((str(action.head), str(action.preconditions), str(state)))

These prevent recursive looping in certain cases if it is desired. I suggest they should either be removed or reworked and the onus should be on the end user to prevent infinite loops

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions