dtolpin / ff-all-plans

quick fix to FF planner by Jorg Hoffman to find all plans
0 stars 0 forks source link

Insertion of "junk" actions when generating all plans #2

Open alexEnsimag opened 7 years ago

alexEnsimag commented 7 years ago

When generating all plans, actions not going toward the goal are inserted. With the example of the reverse-shell (with file descriptors fd0, fd1, fd2, fd3 and fd4 available), it generates:

close fd1 socket fd3 connect fd3 dup fd3 fd1 close fd0 dup fd3 fd0 close fd2 socket fd2 execve sh

When we would expect:

close fd1 socket fd3 dup fd3 fd4 connect fd4 dup fd3 fd1 close fd0 dup fd3 fd0 execve sh

As a shorter plan going toward the goal.

dtolpin commented 7 years ago

I need a self-contained minimal example, as small as possible. domain, problem, command line, anticipated output (which can be validated afainst the domain description), actual output.

dtolpin commented 7 years ago

MINIMAL

dtolpin commented 7 years ago

I implemented A* (-A 1 on the command line) but need examples and arguments what is the anticipated behavior.