(note that $p$ doesn’t have to occur in the name of the action despite being in the preconditions and postconditions, instead this just creates actions that range over all possible values of $x$ and $p$)
What is the problem with this as it stands, and how can you overcome this problem?
Relevant: achieves literal in $G$, so contains a literal $B$ such that $B$ is in $G$
Consistent: doesn’t undo a literal in $G$, so the postcondition doesn’t contain a literal $\lnot B$ such that $B$ is in $G$
For simplicity, consider actions where variables occurring in the postcondition of the action also occur in the precondition (otherwise searching gets complicated)
Compute the predecessor state
Use $A^\ast$ to do this repeatedly until the initial state is reached
What are the advantages and disadvantages of forward, backward (regression) and partial order planning algorithms?
When solving planning problems like this with $A^\ast$, it’s useful to have a good heuristic. One general purpose planning heuristic is ignoring preconditions. Can you explain this, give the “updated” action definition, and describe the intuitive 8 puzzle-specific heuristic this leads to?
and an optimal solution to this planning problem corresponds to the “number of tiles out of place” heuristic.
(also, this relaxed problem is at least as hard as the $\mathbf{NP}$-hard $\mathbf{SetCover}$ problem, since you’re picking the least number of actions to cover all atoms in the goal, but this could be seen as a good thing as $\mathbf{SetCover}$ has efficient approximation algorithms).
Consider the STRIPS formulation of the action of sliding tile $t$ from position $a$ to position $b$:
When solving planning problems like this with $A^\ast$, it’s useful to have a good heuristic. One general purpose planning heuristic is ignoring negative effects. Can you explain this and give the “updated” action definition?
When solving planning problems like this with $A^\ast$, it’s useful to have a good heuristic. One general purpose planning heuristic is state abstraction. Can you explain this, give the “updated” action definition when considering the $\text{Empty}$ predicate, and explain the intuitive 8-puzzle heuristic this leads to?
The optimal solution to this relaxed problem corresponds to the Manhattan distance heuristic.
Consider the STRIPS formulation of the 8 puzzle.
When solving planning problems like this with $A^\ast$, it’s useful to have a good heuristic. One general purpose planning heuristic is subgoal independence. Can you explain this in detail?
Let $G _ 1, \ldots, G _ n$ be disjoint subsets of goal atoms.
Let $P _ 1, \ldots, P _ n$ be min-cost plans that achieve $G _ 1, \ldots, G _ n$
Then take as heuristic
\[\max _ i \text{Cost}(P _ i)\]
Consider the STRIPS formulation of the 8 puzzle.
When solving planning problems like this with $A^\ast$, it’s useful to have a good heuristic. One general purpose planning heuristic is subgoal independence. This involves considering:
Let $G _ 1, \ldots, G _ n$ be disjoint subsets of goal atoms.
Let $P _ 1, \ldots, P _ n$ be min-cost plans that achieve $G _ 1, \ldots, G _ n$
and then taking as a heuristic
\[\max _ i \text{Cost}(P _ i)\]
Sometimes it’s possible to do better than this using independent subproblems. Can you describe this?
This is possible when the plans $P _ i$ and $P _ j$ are independent, i.e. the effects of actions in $P _ i$ leave the preconditions and effects of all actions in $P _ j$ unchanged.