SlideShare una empresa de Scribd logo
1 de 39
Descargar para leer sin conexión
22. Planning
Chapter 22.
22.1 STRIPS Planning Systems
3
Describing States and Goals
 Frame problem (planning of agent actions)  state
space + situation-calculus approaches
 Planning states and world states
 planning states: data structure that can be changed in ways
corresponding to agent actions – state description
 world states: fixed states
4
Search process to a goal
 Goal wff  and variables (x1, x2, …, xn)
 goal wffs of the form (x1, x2, …, xn) (x1, x2, …, xn) is written as 
(x1, x2, …, xn).
 Assumption
 existential quantification of all of the variables.
 the form of a goal is a conjunction of literals
 Search methods
 attempt to find a sequence of actions that produces a world state
described by some state description S, such that S|= 
state description satisfies the goal
 substitution  exists such that  is a conjunction of ground literals.
 Forward search methods and Backward search methods
5
Forward Search Methods (1)
 Actions  Operators
 based on STRIPS system operator
 before-action, after-action state descriptions
 A STRIPS operator consists of:
1. A set, PC, of ground literals called the preconditions of the
operator. An action corresponding to an operator can be
executed in a state only if all of the literals in PC are also in the
before-action state description.
2. A set, D, of ground literals called the delete list.
3. A set, A, of ground literals called the add list.
6
STRIPS operators
 STRIPS assumption
 when we delete from the before-action state description any
literals in D and add all of the literals in A, all literals not
mentioned in D carry over to the after-action state description.
 STRIPS rule (an operator schema)
 has free variables and ground instances (actual operators) of
these rules
 example)
move(x,y,z)
PC: On(x,y)Clear(x)Clear(z)
D: Clear(z),On(x,y)
A: On(x,z),Clear(y),Clear(F1)
7
Figure 22.2 The application of a STRIPS operator
8
Forward Search Methods (2)
 General description of this
method
 Generate new state descriptions
by applying instances of STRIPS
rules until a state description is
produced that satisfies the goal
wff.
 One heuristic: identifying and
exploiting islands toward which
to focus search
 make forward search more
efficient Figure 22.3. part of a search graph
generated by forward search
9
Recursive STRIPS
 Divide-and-conquer: a
heuristic in forward
search
 divide the search space
into islands
 islands: a state
description in which one
of the conjuncts is
satisfied
 STRIPS(): a procedure
to solve a conjunctive
goal formula .
10
Example of STRIPS() with Fig 21.2 (1)
 goal: On(A,F1)On(B,F1)On(C,B)
The goal test in step 9 does not find any conjuncts satisfied by the initial state description.
Suppose STRIPS selects On(A,F1)as g. The rule instance move(A,x,F1)has On(A,F1)
on its add list, so we call STRIPS recursively to achieve that rule’s precondition, namely,
Clear(A)Clear(F1)On(A,x). The test in step 9 in the recursive call produces the
substitution C/x, which leaves all but Clear(A)satisfied by the initial state. This literal is
selected, and the rule instance move(y,A,u)is selected to achieve it.
We call STRIPS recursively again to achieve the rule’s precondition, namely
Clear(y)Clear(u)On(y,A). The test in step 9 of this second recursive call pro-
duces the substitution B/y, F1/u, which makes each literal in the precondition one that
appears in the initial state. So, we can pop out of this second recursive call to apply an ope-
rator, namely, move(B,A,F1), which changes the initial state to
11
Example of STRIPS() with Fig 21.2 (2)
On(B,F1)
On(A,C)
On(C,F1)
Clear(A)
Clear(B)
Clear(F1)
Now, back in the first recursive call, we perform again the step 9 test (namely,
Clear(A)Clear(F1)On(A,x). This test is satisfied by our changed state descrip-
tion with the substitution C/x, so we can pop out the first recursive call to apply the oper-
ator move(A,C,F1) to produce a third state description:
On(B,F1)
On(A,C)
On(C,F1)
Clear(A)
Clear(B)
Clear(F1)
12
Example of STRIPS() with Fig 21.2 (3)
Now we perform the step 9 test in the main program again. The only conjunct in the
original goal that does not appear in the new state description is On(C,B). Recurring
again from the main program, we note that the precondition of move(C,F1,B)is already
satisfied, so we can apply it to produce a state description that satisfy the main goal, and
the process terminates.
13
Plans with Run-Time Conditionals
 Needed when we generalize the kinds of formulas allowed in state
descriptions.
 e.g. wff On(B,A) V On(B,C)
 branching
 The system does not know which plan is being generated at the
time.
 The planning process splits into as many branches as there are
disjuncts that might satisfy operator preconditions.
 runtime conditionals
 Then, at run time when the system encounters a split into two or
more contexts, perceptual processes determine which of the
disjuncts is true.
– e.g. the runtime conditionals here is “know which is true at the time”
14
The Sussman Anomaly
 e.g.
 STRIPS selection: On(A,B)On(B,C)On(A,B)…
 Difficult to solve with recursive STRIPS (similar to DFS)
 Solution: BFS
 BFS: computationally infeasible
  “BFS+Backward Search Methods”
A B C B
A
C A B C C
B
A A B C B
A
C
goal condition:
On(A,B)  On(B,C)
Figure 22.4
15
Backward Search Methods
 General description of this method
 Regress goal wffs through STRIPS rules to produce subgoal wffs.
 Regression
 The regression of a formula  through a STRIPS rule  is the
weakest formula ’ such that if ’ is satisfied by a state description
before applying an instance of  (and ’ satisfies the precondition of
that instance of ), then  will be satisfied by the state description
after applying that instance of .
16
Example of Regressing a Conjunction through a
STRIPS Operator (1)
 Problem:
 Select any operator, here we
choose move(A,F1,B)
 among three conjuncts in the goal
state, this operator achieves
On(A,B), so On(A,B)needn’t be in
the subgoals.
 but any preconditions of the
operator not already in the goal
description must be in the subgoal
(here, Clear(B), Clear(A),
On(A,F1)).
 the other conjuncts in the goal wffs
(On(C,F1), On(B,C)) must be in the
subgoal.
C
A
B
C
B
A
On(C,F1)On(B,C)On(A,B)
example here
alternative
Figure 22.5
17
Example of Regressing a Conjunction through a STRIPS
Operator (2) – using a variable
 Least Commitment
Planning using schema
variables
Figure 22.6
restrictions
18
 Efficient but complicated
 Cannot know whether this is
computationally feasible
 Example of Regressing a
Conjunction through a STRIPS
Operator (3) – a whole procedure
Example of Regressing a Conjunction
through a STRIPS Operator (3) – a
whole procedure
22.2 Plan Spaces and Partial-Order
Planning (POP)
20
Two Different Approaches to Plan
Generation (Figure 22.8)
 State-space search: STRIPS rules are
applied to sets of formulas to produce
successor sets of formulas, until a state
description is produced that satisfies the
goal formula.
 Plan-space search
21
Plan-space Search
 General description of this method
 The successor operators are not STRIPS rules, but are operators
that transform incomplete, uninstantiated or otherwise inadequate
plans into more highly articulated plans, and so on until an
executable plan is produced that transforms the initial state
description into one that satisfies the goal condition
 Includes
 (a) adding steps to the plan
 (b) reordering the steps already in the plan
 (c) changing a partially ordered plan into a fully ordered one
 (d) changing a plan schema (with uninstantiated variables) into
some instance of that schema
22
Some Plan-Transforming Operators
Figure 22.9
23
The basic components of a plan are STRIP rules
: labeled with
the name of STRIPS rules
: labeled with
precondition and effect
literals of the rules
Figure 22.10 Graphical Representation of a STRIP Rule
:
results
Description of Plan-space Search (1)
- general representation
An example with Figure 22.4
goal condition:
On(A,B)  On(B,C)
Figure 22.4
24
The Initial Plan Structure
-Goal wff and the literals of the initial state
preconditions:
the overall goal
add conditions: Nil
virtual rule
Figure 22.11 Graphical Representations of finish and start Rules
25
The Next Plan Structure
 Suppose we decide to
achieve On(A,B)by adding
the rule instance
move(A,y,B). We add the
graph structure for this
instance to the initial plan
structure. Since we have
decided that the addition of
this rule is supposed to
achieve On(A,B), we link
that effect box of the rule
with the corresponding
precondition box of the
finish rule.
 Into what y can be
instantiated? (here: F1)
Figure 22.12 The Next Plan Structure
26
A Subsequent Plan Structure
 Instantiated y into F1
 Insert another rule
move(C,A,y)and
instantiate y into F1.
 Restriction: b < a
 Now, On(A,B)is satisfied.
 How to achieve On(B,C)?
Figure 22.13 A Subsequent Plan Structure
satisfied
27
A Later Stage of the Plan Structure
 Insert another rule
move(B,z,C)and
instantiate z into F1.
 Threat arc
 rules a, b, c are only
partially ordered.
 Threat arc: possible
problem occurred by
wrong order of a, b, c.
Figure 22.14 A Later Stage of the Plan Structure
28
Putting in the Threat Arcs
 Thread arc
 drawn from operator (oval)
nodes to those precondition
(boxed) nodes that (a) are on
the delete list of the operator,
and (b) are not descendants
of the operator node
 threat c < a
 move(A,F1,B)deletes
Clear(B).
 move(A,F1,B)threatens
move(B,F1,C)because if
the former were to be
executed first, we would
not be able to execute the
latter.
 threat b < cFigure 22.15 Putting in the Threat Arcs
29
Discharging threat arcs
by placing constraints on the ordering of operators
 Find all the consistent set of ordering constraints
 here, c < a, b < c
 Total order: b < c < a.
 Final plan: {move(C,A,F1),move(B,F1,C),move(A,F1,B)}
22.3 Hierarchical Planning
31
ABSTRIPS
 Assigns criticality numbers to each conjunct in each
precondition of a STRIPS rule.
 The easier it is to achieve a conjunct (all other things being equal),
the lower is its criticality number.
 ABSTRIPS planning procedure in levels
1. Assume all preconditions of criticality less than some threshold
value are already true, and develop a plan based on that assumption.
Here we are essentially postponing the achievement of all but the
hardest conjuncts.
2. Lower the criticality threshold by 1, and using the plan developed
in step 1 as a guide, develop a plan that assumes that preconditions
of criticality lower than the threshold are true.
3. And so on.
32
An example of ABSTRIPS
 goto(R1,d,r2): rules which models
the action schema of taking the
robot from room r1, through door
d, to room r2.
 open(d): open door d.
 n : criticality numbers of the
preconditions
Figure 22.16 A Planning Problem for ABSTRIPS
33
Combining Hierarchical and Partial-
Order Planning
 NOAH, SIPE, O-PLAN
 “Articulation”
 articulate abstract plans into ones at a lower level of detail
Figure 22.17 Articulating a Plan
22.4 Learning Plans
35
22.4 Learning Plans
 learning new STRIPS rules consisting of a sequence of
already existing STRIPS rules
Figure 22.18 Unstacking Two Blocks
36
Learning Plans (cont’d)
Figure 22.19 A Triangle Table for Block Unstacking
37
Learning Plans (cont’d)
Figure 22.20 A Triangle-Table Schema for Block Unstacking
38
Additional Readings and Discussion
 [Lifschitz 1986]
 [Pednault 1986, Pednault 1989]
 [Bylander 1994]
 [Bylander 1993]
 [Erol, Nau, and Subrahmanian 1992]
 [Gupta and Nau 1992]
 [Chapman 1989]
 [Waldinger 1975]
 [Blum and Furst 1995]
 [Kautz and Selman 1996], Kautz, Mcallester, and Selman 1996]
 [Ernst, Millstein, and Weld 1997]
 [Sacerdoti 1975, Sacerdoti 1977]
 [Tate 1977]
 [Chapman 1987]
 [Soderland and Weld 1991]
 [Penberthy and Weld 1992]
 [Ephrati, Pollack, and Milshtein 1996]
39
Additional Readings and Discussion
 [Minton, Bresina, and Drummond 1994]
 [Weld 1994]
 [Christensen 1990, Knoblock 1990]
 [Tenenberg 1991]
 [Erol, Hendler, and Nau 1994]
 [Dean and Wellman 1991]
 [Ramadge and Wonham 1989]
 [Allen, et al. 1990]
 [Wilkins, et al. 1995]
 [Allen, et al. 1990]
 [Minton 1993]
 [Wilkins 1988]
 [Tate 1996]

Más contenido relacionado

La actualidad más candente

Lecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systemsLecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systems
Saifullah Memon
 
論文紹介 Adaptive metropolis algorithm using variational bayesian
論文紹介 Adaptive metropolis algorithm using variational bayesian論文紹介 Adaptive metropolis algorithm using variational bayesian
論文紹介 Adaptive metropolis algorithm using variational bayesian
Shuuji Mihara
 
Reduction of multiple subsystem [compatibility mode]
Reduction of multiple subsystem [compatibility mode]Reduction of multiple subsystem [compatibility mode]
Reduction of multiple subsystem [compatibility mode]
azroyyazid
 
computervision project
computervision projectcomputervision project
computervision project
Lianli Liu
 
Quasi newton
Quasi newtonQuasi newton
Quasi newton
tokumoto
 
Track 2 session 6 db2 utilities update and best practices v2
Track 2 session 6   db2 utilities update and best practices v2Track 2 session 6   db2 utilities update and best practices v2
Track 2 session 6 db2 utilities update and best practices v2
IBMSystemzEvents
 

La actualidad más candente (20)

The Karnaugh Map
The Karnaugh MapThe Karnaugh Map
The Karnaugh Map
 
Lecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systemsLecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systems
 
Block diagram &amp;_overall_transferfunction_of_a_multiloop_control_system
Block diagram &amp;_overall_transferfunction_of_a_multiloop_control_systemBlock diagram &amp;_overall_transferfunction_of_a_multiloop_control_system
Block diagram &amp;_overall_transferfunction_of_a_multiloop_control_system
 
論文紹介 Adaptive metropolis algorithm using variational bayesian
論文紹介 Adaptive metropolis algorithm using variational bayesian論文紹介 Adaptive metropolis algorithm using variational bayesian
論文紹介 Adaptive metropolis algorithm using variational bayesian
 
Block diagram
Block diagramBlock diagram
Block diagram
 
Reduction of multiple subsystem [compatibility mode]
Reduction of multiple subsystem [compatibility mode]Reduction of multiple subsystem [compatibility mode]
Reduction of multiple subsystem [compatibility mode]
 
Block diagrams
Block diagramsBlock diagrams
Block diagrams
 
Optimized linear spatial filters implemented in FPGA
Optimized linear spatial filters implemented in FPGAOptimized linear spatial filters implemented in FPGA
Optimized linear spatial filters implemented in FPGA
 
Bode
BodeBode
Bode
 
K map
K mapK map
K map
 
論文紹介 Probabilistic sfa for behavior analysis
論文紹介 Probabilistic sfa for behavior analysis論文紹介 Probabilistic sfa for behavior analysis
論文紹介 Probabilistic sfa for behavior analysis
 
Control chap3
Control chap3Control chap3
Control chap3
 
computervision project
computervision projectcomputervision project
computervision project
 
Quasi newton
Quasi newtonQuasi newton
Quasi newton
 
Block diagrams
Block diagramsBlock diagrams
Block diagrams
 
Lec 04 - Gate-level Minimization
Lec 04 - Gate-level MinimizationLec 04 - Gate-level Minimization
Lec 04 - Gate-level Minimization
 
Logsexponents
LogsexponentsLogsexponents
Logsexponents
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Track 2 session 6 db2 utilities update and best practices v2
Track 2 session 6   db2 utilities update and best practices v2Track 2 session 6   db2 utilities update and best practices v2
Track 2 session 6 db2 utilities update and best practices v2
 
Cruise Control System
Cruise Control SystemCruise Control System
Cruise Control System
 

Similar a 22 planning

SupportVectorRegression
SupportVectorRegressionSupportVectorRegression
SupportVectorRegression
Daniel K
 
seminar_presentation
seminar_presentationseminar_presentation
seminar_presentation
mahsa rezaei
 
Manipulator kinematics
Manipulator kinematicsManipulator kinematics
Manipulator kinematics
Sudhir Reddy
 

Similar a 22 planning (20)

Planning
PlanningPlanning
Planning
 
SupportVectorRegression
SupportVectorRegressionSupportVectorRegression
SupportVectorRegression
 
Exploring Support Vector Regression - Signals and Systems Project
Exploring Support Vector Regression - Signals and Systems ProjectExploring Support Vector Regression - Signals and Systems Project
Exploring Support Vector Regression - Signals and Systems Project
 
Control of a Quadcopter
Control of a QuadcopterControl of a Quadcopter
Control of a Quadcopter
 
seminar_presentation
seminar_presentationseminar_presentation
seminar_presentation
 
Design and Simulation of Aircraft Autopilot to Control the Pitch Angle
Design and Simulation of Aircraft Autopilot to Control the Pitch AngleDesign and Simulation of Aircraft Autopilot to Control the Pitch Angle
Design and Simulation of Aircraft Autopilot to Control the Pitch Angle
 
Manipulator kinematics
Manipulator kinematicsManipulator kinematics
Manipulator kinematics
 
Lwrb ms
Lwrb msLwrb ms
Lwrb ms
 
the power point basics in control system.ppt
the power point basics in control system.pptthe power point basics in control system.ppt
the power point basics in control system.ppt
 
Control assignment#2
Control assignment#2Control assignment#2
Control assignment#2
 
DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller
 
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSIONSTATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
 
9320ijccms01.pdf
9320ijccms01.pdf9320ijccms01.pdf
9320ijccms01.pdf
 
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSIONSTATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
 
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSIONSTATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
 
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSIONSTATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
 
9320ijccms01.pdf
9320ijccms01.pdf9320ijccms01.pdf
9320ijccms01.pdf
 
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSIONSTATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
STATE OBSERVER DESIGNS FOR QUARTER-CAR PASSIVE SUSPENSION
 
9320ijccms01.pdf
9320ijccms01.pdf9320ijccms01.pdf
9320ijccms01.pdf
 
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS)
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS) International Journal of Chaos, Control, Modelling and Simulation (IJCCMS)
International Journal of Chaos, Control, Modelling and Simulation (IJCCMS)
 

Más de Tianlu Wang

Más de Tianlu Wang (20)

L7 er2
L7 er2L7 er2
L7 er2
 
L8 design1
L8 design1L8 design1
L8 design1
 
L9 design2
L9 design2L9 design2
L9 design2
 
14 pro resolution
14 pro resolution14 pro resolution
14 pro resolution
 
13 propositional calculus
13 propositional calculus13 propositional calculus
13 propositional calculus
 
12 adversal search
12 adversal search12 adversal search
12 adversal search
 
11 alternative search
11 alternative search11 alternative search
11 alternative search
 
10 2 sum
10 2 sum10 2 sum
10 2 sum
 
21 situation calculus
21 situation calculus21 situation calculus
21 situation calculus
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learning
 
19 uncertain evidence
19 uncertain evidence19 uncertain evidence
19 uncertain evidence
 
18 common knowledge
18 common knowledge18 common knowledge
18 common knowledge
 
17 2 expert systems
17 2 expert systems17 2 expert systems
17 2 expert systems
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolution
 
16 1 predicate resolution
16 1 predicate resolution16 1 predicate resolution
16 1 predicate resolution
 
15 predicate
15 predicate15 predicate
15 predicate
 
09 heuristic search
09 heuristic search09 heuristic search
09 heuristic search
 
08 uninformed search
08 uninformed search08 uninformed search
08 uninformed search
 
07 plan agent
07 plan agent07 plan agent
07 plan agent
 

Último

Bobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdfBobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdf
MARIBEL442158
 
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | DelhiFULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
SaketCallGirlsCallUs
 
Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...
Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...
Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...
home
 
FULL NIGHT — 9999894380 Call Girls In Badarpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Badarpur | DelhiFULL NIGHT — 9999894380 Call Girls In Badarpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Badarpur | Delhi
SaketCallGirlsCallUs
 
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | DelhiFULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
SaketCallGirlsCallUs
 
FULL NIGHT — 9999894380 Call Girls In Ashok Vihar | Delhi
FULL NIGHT — 9999894380 Call Girls In Ashok Vihar | DelhiFULL NIGHT — 9999894380 Call Girls In Ashok Vihar | Delhi
FULL NIGHT — 9999894380 Call Girls In Ashok Vihar | Delhi
SaketCallGirlsCallUs
 
Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)
Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)
Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)
Business Bay Call Girls || 0529877582 || Call Girls Service in Business Bay Dubai
 
Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...
Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...
Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...
home
 
FULL NIGHT — 9999894380 Call Girls In Delhi | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi | DelhiFULL NIGHT — 9999894380 Call Girls In Delhi | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi | Delhi
SaketCallGirlsCallUs
 
Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)
Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)
Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)
Business Bay Call Girls || 0529877582 || Call Girls Service in Business Bay Dubai
 
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
Pooja Nehwal
 
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
delhimunirka444
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..
mvxpw22gfc
 
❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...
❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...
❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...
Sheetaleventcompany
 
Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...
Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...
Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...
Business Bay Call Girls || 0529877582 || Call Girls Service in Business Bay Dubai
 

Último (20)

(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7
 
Completed Event Presentation for Huma 1305
Completed Event Presentation for Huma 1305Completed Event Presentation for Huma 1305
Completed Event Presentation for Huma 1305
 
Bobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdfBobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdf
 
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | DelhiFULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
 
Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...
Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...
Top # 971526963005 # Call Girls Near Burjuman By philippines call girls in du...
 
FULL NIGHT — 9999894380 Call Girls In Badarpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Badarpur | DelhiFULL NIGHT — 9999894380 Call Girls In Badarpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Badarpur | Delhi
 
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | DelhiFULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
 
FULL NIGHT — 9999894380 Call Girls In Ashok Vihar | Delhi
FULL NIGHT — 9999894380 Call Girls In Ashok Vihar | DelhiFULL NIGHT — 9999894380 Call Girls In Ashok Vihar | Delhi
FULL NIGHT — 9999894380 Call Girls In Ashok Vihar | Delhi
 
Barasat call girls 📞 8617697112 At Low Cost Cash Payment Booking
Barasat call girls 📞 8617697112 At Low Cost Cash Payment BookingBarasat call girls 📞 8617697112 At Low Cost Cash Payment Booking
Barasat call girls 📞 8617697112 At Low Cost Cash Payment Booking
 
Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)
Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)
Dubai Call Girls # 00971547881831 # Indian Call Girls In Dubai # (UAE)
 
Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...
Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...
Verified # 971581275265 # Indian Call Girls In Deira By International City Ca...
 
FULL NIGHT — 9999894380 Call Girls In Delhi | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi | DelhiFULL NIGHT — 9999894380 Call Girls In Delhi | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi | Delhi
 
(INDIRA) Call Girl Jammu Call Now 8617697112 Jammu Escorts 24x7
(INDIRA) Call Girl Jammu Call Now 8617697112 Jammu Escorts 24x7(INDIRA) Call Girl Jammu Call Now 8617697112 Jammu Escorts 24x7
(INDIRA) Call Girl Jammu Call Now 8617697112 Jammu Escorts 24x7
 
Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)
Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)
Dubai Call Girl Number # 0522916705 # Call Girl Number In Dubai # (UAE)
 
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
 
Akbar Religious Policy and Sufism comparison.pptx
Akbar Religious Policy and Sufism comparison.pptxAkbar Religious Policy and Sufism comparison.pptx
Akbar Religious Policy and Sufism comparison.pptx
 
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..
 
❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...
❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...
❤️Call girls in Chandigarh ☎️8264406502☎️ Call Girl service in Chandigarh☎️ C...
 
Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...
Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...
Pakistani Bur Dubai Call Girls # +971528960100 # Pakistani Call Girls In Bur ...
 

22 planning

  • 3. 3 Describing States and Goals  Frame problem (planning of agent actions)  state space + situation-calculus approaches  Planning states and world states  planning states: data structure that can be changed in ways corresponding to agent actions – state description  world states: fixed states
  • 4. 4 Search process to a goal  Goal wff  and variables (x1, x2, …, xn)  goal wffs of the form (x1, x2, …, xn) (x1, x2, …, xn) is written as  (x1, x2, …, xn).  Assumption  existential quantification of all of the variables.  the form of a goal is a conjunction of literals  Search methods  attempt to find a sequence of actions that produces a world state described by some state description S, such that S|=  state description satisfies the goal  substitution  exists such that  is a conjunction of ground literals.  Forward search methods and Backward search methods
  • 5. 5 Forward Search Methods (1)  Actions  Operators  based on STRIPS system operator  before-action, after-action state descriptions  A STRIPS operator consists of: 1. A set, PC, of ground literals called the preconditions of the operator. An action corresponding to an operator can be executed in a state only if all of the literals in PC are also in the before-action state description. 2. A set, D, of ground literals called the delete list. 3. A set, A, of ground literals called the add list.
  • 6. 6 STRIPS operators  STRIPS assumption  when we delete from the before-action state description any literals in D and add all of the literals in A, all literals not mentioned in D carry over to the after-action state description.  STRIPS rule (an operator schema)  has free variables and ground instances (actual operators) of these rules  example) move(x,y,z) PC: On(x,y)Clear(x)Clear(z) D: Clear(z),On(x,y) A: On(x,z),Clear(y),Clear(F1)
  • 7. 7 Figure 22.2 The application of a STRIPS operator
  • 8. 8 Forward Search Methods (2)  General description of this method  Generate new state descriptions by applying instances of STRIPS rules until a state description is produced that satisfies the goal wff.  One heuristic: identifying and exploiting islands toward which to focus search  make forward search more efficient Figure 22.3. part of a search graph generated by forward search
  • 9. 9 Recursive STRIPS  Divide-and-conquer: a heuristic in forward search  divide the search space into islands  islands: a state description in which one of the conjuncts is satisfied  STRIPS(): a procedure to solve a conjunctive goal formula .
  • 10. 10 Example of STRIPS() with Fig 21.2 (1)  goal: On(A,F1)On(B,F1)On(C,B) The goal test in step 9 does not find any conjuncts satisfied by the initial state description. Suppose STRIPS selects On(A,F1)as g. The rule instance move(A,x,F1)has On(A,F1) on its add list, so we call STRIPS recursively to achieve that rule’s precondition, namely, Clear(A)Clear(F1)On(A,x). The test in step 9 in the recursive call produces the substitution C/x, which leaves all but Clear(A)satisfied by the initial state. This literal is selected, and the rule instance move(y,A,u)is selected to achieve it. We call STRIPS recursively again to achieve the rule’s precondition, namely Clear(y)Clear(u)On(y,A). The test in step 9 of this second recursive call pro- duces the substitution B/y, F1/u, which makes each literal in the precondition one that appears in the initial state. So, we can pop out of this second recursive call to apply an ope- rator, namely, move(B,A,F1), which changes the initial state to
  • 11. 11 Example of STRIPS() with Fig 21.2 (2) On(B,F1) On(A,C) On(C,F1) Clear(A) Clear(B) Clear(F1) Now, back in the first recursive call, we perform again the step 9 test (namely, Clear(A)Clear(F1)On(A,x). This test is satisfied by our changed state descrip- tion with the substitution C/x, so we can pop out the first recursive call to apply the oper- ator move(A,C,F1) to produce a third state description: On(B,F1) On(A,C) On(C,F1) Clear(A) Clear(B) Clear(F1)
  • 12. 12 Example of STRIPS() with Fig 21.2 (3) Now we perform the step 9 test in the main program again. The only conjunct in the original goal that does not appear in the new state description is On(C,B). Recurring again from the main program, we note that the precondition of move(C,F1,B)is already satisfied, so we can apply it to produce a state description that satisfy the main goal, and the process terminates.
  • 13. 13 Plans with Run-Time Conditionals  Needed when we generalize the kinds of formulas allowed in state descriptions.  e.g. wff On(B,A) V On(B,C)  branching  The system does not know which plan is being generated at the time.  The planning process splits into as many branches as there are disjuncts that might satisfy operator preconditions.  runtime conditionals  Then, at run time when the system encounters a split into two or more contexts, perceptual processes determine which of the disjuncts is true. – e.g. the runtime conditionals here is “know which is true at the time”
  • 14. 14 The Sussman Anomaly  e.g.  STRIPS selection: On(A,B)On(B,C)On(A,B)…  Difficult to solve with recursive STRIPS (similar to DFS)  Solution: BFS  BFS: computationally infeasible   “BFS+Backward Search Methods” A B C B A C A B C C B A A B C B A C goal condition: On(A,B)  On(B,C) Figure 22.4
  • 15. 15 Backward Search Methods  General description of this method  Regress goal wffs through STRIPS rules to produce subgoal wffs.  Regression  The regression of a formula  through a STRIPS rule  is the weakest formula ’ such that if ’ is satisfied by a state description before applying an instance of  (and ’ satisfies the precondition of that instance of ), then  will be satisfied by the state description after applying that instance of .
  • 16. 16 Example of Regressing a Conjunction through a STRIPS Operator (1)  Problem:  Select any operator, here we choose move(A,F1,B)  among three conjuncts in the goal state, this operator achieves On(A,B), so On(A,B)needn’t be in the subgoals.  but any preconditions of the operator not already in the goal description must be in the subgoal (here, Clear(B), Clear(A), On(A,F1)).  the other conjuncts in the goal wffs (On(C,F1), On(B,C)) must be in the subgoal. C A B C B A On(C,F1)On(B,C)On(A,B) example here alternative Figure 22.5
  • 17. 17 Example of Regressing a Conjunction through a STRIPS Operator (2) – using a variable  Least Commitment Planning using schema variables Figure 22.6 restrictions
  • 18. 18  Efficient but complicated  Cannot know whether this is computationally feasible  Example of Regressing a Conjunction through a STRIPS Operator (3) – a whole procedure Example of Regressing a Conjunction through a STRIPS Operator (3) – a whole procedure
  • 19. 22.2 Plan Spaces and Partial-Order Planning (POP)
  • 20. 20 Two Different Approaches to Plan Generation (Figure 22.8)  State-space search: STRIPS rules are applied to sets of formulas to produce successor sets of formulas, until a state description is produced that satisfies the goal formula.  Plan-space search
  • 21. 21 Plan-space Search  General description of this method  The successor operators are not STRIPS rules, but are operators that transform incomplete, uninstantiated or otherwise inadequate plans into more highly articulated plans, and so on until an executable plan is produced that transforms the initial state description into one that satisfies the goal condition  Includes  (a) adding steps to the plan  (b) reordering the steps already in the plan  (c) changing a partially ordered plan into a fully ordered one  (d) changing a plan schema (with uninstantiated variables) into some instance of that schema
  • 23. 23 The basic components of a plan are STRIP rules : labeled with the name of STRIPS rules : labeled with precondition and effect literals of the rules Figure 22.10 Graphical Representation of a STRIP Rule : results Description of Plan-space Search (1) - general representation An example with Figure 22.4 goal condition: On(A,B)  On(B,C) Figure 22.4
  • 24. 24 The Initial Plan Structure -Goal wff and the literals of the initial state preconditions: the overall goal add conditions: Nil virtual rule Figure 22.11 Graphical Representations of finish and start Rules
  • 25. 25 The Next Plan Structure  Suppose we decide to achieve On(A,B)by adding the rule instance move(A,y,B). We add the graph structure for this instance to the initial plan structure. Since we have decided that the addition of this rule is supposed to achieve On(A,B), we link that effect box of the rule with the corresponding precondition box of the finish rule.  Into what y can be instantiated? (here: F1) Figure 22.12 The Next Plan Structure
  • 26. 26 A Subsequent Plan Structure  Instantiated y into F1  Insert another rule move(C,A,y)and instantiate y into F1.  Restriction: b < a  Now, On(A,B)is satisfied.  How to achieve On(B,C)? Figure 22.13 A Subsequent Plan Structure satisfied
  • 27. 27 A Later Stage of the Plan Structure  Insert another rule move(B,z,C)and instantiate z into F1.  Threat arc  rules a, b, c are only partially ordered.  Threat arc: possible problem occurred by wrong order of a, b, c. Figure 22.14 A Later Stage of the Plan Structure
  • 28. 28 Putting in the Threat Arcs  Thread arc  drawn from operator (oval) nodes to those precondition (boxed) nodes that (a) are on the delete list of the operator, and (b) are not descendants of the operator node  threat c < a  move(A,F1,B)deletes Clear(B).  move(A,F1,B)threatens move(B,F1,C)because if the former were to be executed first, we would not be able to execute the latter.  threat b < cFigure 22.15 Putting in the Threat Arcs
  • 29. 29 Discharging threat arcs by placing constraints on the ordering of operators  Find all the consistent set of ordering constraints  here, c < a, b < c  Total order: b < c < a.  Final plan: {move(C,A,F1),move(B,F1,C),move(A,F1,B)}
  • 31. 31 ABSTRIPS  Assigns criticality numbers to each conjunct in each precondition of a STRIPS rule.  The easier it is to achieve a conjunct (all other things being equal), the lower is its criticality number.  ABSTRIPS planning procedure in levels 1. Assume all preconditions of criticality less than some threshold value are already true, and develop a plan based on that assumption. Here we are essentially postponing the achievement of all but the hardest conjuncts. 2. Lower the criticality threshold by 1, and using the plan developed in step 1 as a guide, develop a plan that assumes that preconditions of criticality lower than the threshold are true. 3. And so on.
  • 32. 32 An example of ABSTRIPS  goto(R1,d,r2): rules which models the action schema of taking the robot from room r1, through door d, to room r2.  open(d): open door d.  n : criticality numbers of the preconditions Figure 22.16 A Planning Problem for ABSTRIPS
  • 33. 33 Combining Hierarchical and Partial- Order Planning  NOAH, SIPE, O-PLAN  “Articulation”  articulate abstract plans into ones at a lower level of detail Figure 22.17 Articulating a Plan
  • 35. 35 22.4 Learning Plans  learning new STRIPS rules consisting of a sequence of already existing STRIPS rules Figure 22.18 Unstacking Two Blocks
  • 36. 36 Learning Plans (cont’d) Figure 22.19 A Triangle Table for Block Unstacking
  • 37. 37 Learning Plans (cont’d) Figure 22.20 A Triangle-Table Schema for Block Unstacking
  • 38. 38 Additional Readings and Discussion  [Lifschitz 1986]  [Pednault 1986, Pednault 1989]  [Bylander 1994]  [Bylander 1993]  [Erol, Nau, and Subrahmanian 1992]  [Gupta and Nau 1992]  [Chapman 1989]  [Waldinger 1975]  [Blum and Furst 1995]  [Kautz and Selman 1996], Kautz, Mcallester, and Selman 1996]  [Ernst, Millstein, and Weld 1997]  [Sacerdoti 1975, Sacerdoti 1977]  [Tate 1977]  [Chapman 1987]  [Soderland and Weld 1991]  [Penberthy and Weld 1992]  [Ephrati, Pollack, and Milshtein 1996]
  • 39. 39 Additional Readings and Discussion  [Minton, Bresina, and Drummond 1994]  [Weld 1994]  [Christensen 1990, Knoblock 1990]  [Tenenberg 1991]  [Erol, Hendler, and Nau 1994]  [Dean and Wellman 1991]  [Ramadge and Wonham 1989]  [Allen, et al. 1990]  [Wilkins, et al. 1995]  [Allen, et al. 1990]  [Minton 1993]  [Wilkins 1988]  [Tate 1996]