Given:

Find:

An automated planner is an intelligent agent that operates in a certain domain described by:

ACTION REPRESENTATION

Planning

PLANNING TECHNIQUES

Linear planning

A linear planner formulates the planning problem as a search in the state space and uses classical search strategies.(Planning as search)

Planning as forward search
Planning as backward search

Detuctive planning

Deductive planning uses logics for representing states, goals and actions and generates a plan as a theorem proof.

Green uses situation calculus to build a planning based on logic resolution.

Green法的缺陷是要描述的东西太多了,也就是frame problem

KOWALSKY FORMULATION

Formulation需要这几部分

Example

STRIPS

Stanford Research Institute Problem Solver

Action representation (3 lists):

Sometimes ADD e DELETE list are glued in an EFFECT list with positive and negative axioms
Esempio Move(X, Y, Z)
Precondizioni_: on(X,Y), clear(X), clear(Z)_
Effect List_:_ ¬clear(Z), ¬on(X,Y), clear(Y), on(X,Z)

Non Linear Planning

A non-linear plan is represented as

Partial Order Planning Algorithm (POP)

截屏2026-01-16 12.57.59.png
截屏2026-01-16 12.57.59 1.png

  1. Establishment, open goal achievement by means of: (1) a new action to be inserted in the plan, (2) an ordering constraint with Action already in the plan or simply (3) of a variable assignment.
  2. Promotion, ordering constraint that imposes the threatening action before the first of the causal link;
  3. Demotion, ordering constraint that imposes the threatening action after the second of the causal link;
  4. White knight, insert a new operator or use one already in the plan between to S1 and S3 such that it establishes the precondition of S3 threatened by S1.
  5. Separation, insert non codesignation constraints between the variables of the negative effect and the threatened precondition so to avoid unification. This is useful when variables have not yet been instantiated.

CONDITIONAL PLANNING

A conditional planner is a search algorithm that generates various alternative plans for each source of uncertainty of the plan.

A conditional plan it is therefore constituted by:

HIERARCHICAL PLANNING

Hierarchical planners are search algorithms that manage the creation of complex plans at different levels of abstraction, by considering the simplest details only after finding a solution for the most difficult ones.

Detective Planning exercise

Kovalsky formulation

modeling某个action要写四部分:

  1. effect,用holds(影响后状态,action)表达
  2. frame condiftion,
    hold(V, do(action), S):-
    V\=前提条件,(都列出来)
  3. clause for pre-condition of the action,
    pact(action, S):-
    holds(前提条件,S) (都列出来)
  4. clause for the reachability of a state,
    poss(s0),
    poss(do(A,S)):-
    poss(S),
    poss(A,S).

STRIPS

对于一个action,列出他的PRECOND,ADD,DELETE list

对于 STRIPS 找到解的过程,通过执行可执行的action向goal stack添加新的状态,如果在current state中存在了,就可以从goal stack消掉;重复这个过程,直到goal stack中的状态全部被消除。 截屏2026-01-16 16.32.59.png

从结果倒着往回画可以执行的action,直到从goal连起来initial state。然后找出来threat 以及对应的casual links,改变顺序或者添加 white knight 使得没有threats,叉掉原本有threat的地方。整理图,去掉不必要的部分。