SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
The Situation Calculus
Chapter 21.
2
Outline
 Reasoning about States and Actions
 Some Difficulties
 Generating Plans
 Additional Readings and Discussion
3
21.1 Reasoning about States and
Actions
 To investigate feature-based planning methods
much more thoroughly, richer language to
describe features and the constraints among them
will be introduced.
 Generally, a goal condition can be described by
any wff in the predicate calculus, and we can
determine if a goal is satisfied in a world state
described by formulas by attempting to prove the
goal wff from those formulas.
4
Situation calculus (1/3)
 A predicate calculus formalization of states,
actions, and the effects of actions on states.
 Our knowledge about states and actions as
formulas in the first-order predicate calculus
 Then use a deduction system to ask questions such
as “Does there exist a state to satisfy certain
properties, and if so, how can the present state be
transformed into that state by actions”
 A plan for achieving the desired state.
5
Situation calculus (2/3)
 The situation calculus was used in some
early AI planning systems.
 However, the formalism remains important
for exposing and helping to clarify
conceptual problems.
6
Situation calculus (3/3)
 In order to describe states in the situation
calculus, we reify states.
 States can be denoted by constant symbols
(S0, S1, S2, …), by variables, or by
functional expressions.
 Fluents: the atomic wff can denote relations
over states.
7
Example (Figure 21.1)
 First-order predicate calculus
On(B,A)On(A,C)On(C,F1)Clear(B)…
 True statement
On(B,A,S0)On(A,C,S0)On(C,F1,S0)Clear(B, S0)
 Prepositions true of all states
(x,y,s)[On(x,y,s)(y=F1) Clear(y,s)]
(s)Clear(F1,s)
8
Actions and the effects (1/2)
1. Reify the action
– Actions can be denoted by constant symbols, by
variables, or by functional expressions
– Generally, we can represent a family of move actions
by the schema, move(x,y,z), where x, y, and z are
schema variables.
2. Imagine a function constant, do, that denotes a
function that maps actions and states into states.
– do(,) denotes a function that maps the state-action
pair into the state obtained by performing the action
denoted by  in the state denoted by .
9
Actions and the effects (2/2)
3. Express the effects of actions by wffs.
– There are two such wffs for each action-fluent
pair.
– For the pair {On, move}.
[On(x,y,s)Clear(x,s)Clear(z,s)(xz)
On(x,z,do(move(x,y,z),s))]
And [On(x,y,s)Clear(x,s)Clear(z,s)(xz)
 On(x,z,do(move(x,y,z),s))]
positive effect axiom
negative effect axiom
preconditions
consequent
10
Effect axioms
 We can also write effect axioms for the {Clear,
move} pair.
[On(x,y,s)Clear(x,s)Clear(z,s)(xz)(yz)
Clear(y,do(move(x,y,z),s))]
[On(x,y,s)Clear(x,s)Clear(z,s)(xz)(zF1)
 Clear(z,do(move(x,y,z),s))]
 The antecedents consist of two parts
– One part expresses the preconditions under which the
action can be executed
– The other part expresses the condition under which the
action will have the effect expressed in the consequent
of the axiom.
11
Figure 21.2 Mapping a State-Action Pair into a State
12
21.2.1 Frame Axioms (1/3)
 Not all of the statements true about state
do(move(B,A,F1),S0) can be inferred by the
effects axioms.
– Before the move, such as that C was on the floor and
that B was clear are also true of the state after the move.
 In order to make inferences about these
constancies, we need frame axioms for each action
and for each fluent that doesn’t change as a result
of the action.
13
21.2.1 Frame Axioms (2/3)
 The frame axioms for the pair, {(move, On)}
[On(x,y,s)(xu)]  On(x,y,do(move(u,y,z),s))
(On(x,y,s)[(xu)(yz)]  On(x,y,do(move(u,v,z),s))
 The frame axioms for the pair, {move,
Clear}
Clear(u,s)(uz)]  Clear(u,do(move(x,y,z),s))
Clear(u,s)(uy)  Clear(u,do(move(x,y,z),s))
positive frame axioms negative frame axioms
14
21.2.1 Frame Axioms (3/3)
 Frame axioms are used to prove that a
property of a state remains true if the state is
changed by an action that doesn’t affect that
property.
 Frame problem
– The various difficulties associated with dealing
with fluents that are not affected by actions.
15
21.2.2 Qualifications(限制)
 The antecedent of the transition formula
describing an action such as move gives the
preconditions for a rather idealized case.
– To be more precise, adding other qualification
such as Too_heavy(x,s), Glued_down(x,s),
Armbroken(s), …
 Qualification problem
– The difficulty of specifying all of the important
qualifications.
16
21.2.3 Ramifications
 Ramification problem(分枝)
– Keeping track of which derived formulas
survive subsequent state transitions.
17
21.3 Generating Plans
 To generate a plan that achieves some goal,
 (s),
– We attempt to prove (s)  (s)
– And use the answer predicate to extract
the state as a function of the nested
actions that produce it.
18
Example (Figure 21.1) (1/2)
 We want a plan that gets block B on the floor from
the initial state, s0, given in Figure 21.1.
 Prove (s) On(B, F1, s)
 Resolution refutation:
– The negation of (s) On(B, F1, s), together with the
formulas that describe S0 and the effects of move are
inconsistent.
– Use an answer predicate to capture the substitutions
made during the proof.
19
Example (Figure 21.1) (2/2)
On(A,C,S0)
On(C,F1,S0)
Clear(B,S0)
Clear(F1,S0)
[On(x,y,s)Clear(x,s) Clear(z,s) (xz)
On(x,z,do(move(x,y,z),s))]
(s) On(B,F1,s) ?
Answer: ans(do(move(B,A,F1),S0))
20
Difficulties
 If several actions are required to achieve a
goal, the action functions would be nested.
 The proof effort is too large even for simple
plan.

Contenu connexe

Tendances

Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronMostafa G. M. Mostafa
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptkarthikaparthasarath
 
Lecture 26 local beam search
Lecture 26 local beam searchLecture 26 local beam search
Lecture 26 local beam searchHema Kashyap
 
Feature Engineering in Machine Learning
Feature Engineering in Machine LearningFeature Engineering in Machine Learning
Feature Engineering in Machine LearningKnoldus Inc.
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmsswapnac12
 
Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance TheoryNaveen Kumar
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search StrategiesAmey Kerkar
 
Production System in AI
Production System in AIProduction System in AI
Production System in AIBharat Bhushan
 
Intro to Model Selection
Intro to Model SelectionIntro to Model Selection
Intro to Model Selectionchenhm
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithmMegha Sharma
 
Lecture 18: Gaussian Mixture Models and Expectation Maximization
Lecture 18: Gaussian Mixture Models and Expectation MaximizationLecture 18: Gaussian Mixture Models and Expectation Maximization
Lecture 18: Gaussian Mixture Models and Expectation Maximizationbutest
 
Hill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial IntelligenceHill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial IntelligenceBharat Bhushan
 
Activation function
Activation functionActivation function
Activation functionAstha Jain
 
Model-Based Reinforcement Learning @NIPS2017
Model-Based Reinforcement Learning @NIPS2017Model-Based Reinforcement Learning @NIPS2017
Model-Based Reinforcement Learning @NIPS2017mooopan
 
Activation functions
Activation functionsActivation functions
Activation functionsPRATEEK SAHU
 

Tendances (20)

Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.ppt
 
Lecture 26 local beam search
Lecture 26 local beam searchLecture 26 local beam search
Lecture 26 local beam search
 
Packages in java
Packages in javaPackages in java
Packages in java
 
Perceptron
PerceptronPerceptron
Perceptron
 
Feature Engineering in Machine Learning
Feature Engineering in Machine LearningFeature Engineering in Machine Learning
Feature Engineering in Machine Learning
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance Theory
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search Strategies
 
Learning in AI
Learning in AILearning in AI
Learning in AI
 
Production System in AI
Production System in AIProduction System in AI
Production System in AI
 
Meta learning tutorial
Meta learning tutorialMeta learning tutorial
Meta learning tutorial
 
Intro to Model Selection
Intro to Model SelectionIntro to Model Selection
Intro to Model Selection
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
 
Lecture 18: Gaussian Mixture Models and Expectation Maximization
Lecture 18: Gaussian Mixture Models and Expectation MaximizationLecture 18: Gaussian Mixture Models and Expectation Maximization
Lecture 18: Gaussian Mixture Models and Expectation Maximization
 
Support Vector machine
Support Vector machineSupport Vector machine
Support Vector machine
 
Hill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial IntelligenceHill Climbing Algorithm in Artificial Intelligence
Hill Climbing Algorithm in Artificial Intelligence
 
Activation function
Activation functionActivation function
Activation function
 
Model-Based Reinforcement Learning @NIPS2017
Model-Based Reinforcement Learning @NIPS2017Model-Based Reinforcement Learning @NIPS2017
Model-Based Reinforcement Learning @NIPS2017
 
Activation functions
Activation functionsActivation functions
Activation functions
 

En vedette

16 1 predicate resolution
16 1 predicate resolution16 1 predicate resolution
16 1 predicate resolutionTianlu Wang
 
XING AG Investor Presentation 03/2013
XING AG Investor Presentation 03/2013XING AG Investor Presentation 03/2013
XING AG Investor Presentation 03/2013XING SE
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolutionTianlu Wang
 
08 uninformed search
08 uninformed search08 uninformed search
08 uninformed searchTianlu Wang
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based systemTianlu Wang
 

En vedette (8)

Lecture19 xing
Lecture19 xingLecture19 xing
Lecture19 xing
 
16 1 predicate resolution
16 1 predicate resolution16 1 predicate resolution
16 1 predicate resolution
 
XING AG Investor Presentation 03/2013
XING AG Investor Presentation 03/2013XING AG Investor Presentation 03/2013
XING AG Investor Presentation 03/2013
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolution
 
L8 design1
L8 design1L8 design1
L8 design1
 
L7 er2
L7 er2L7 er2
L7 er2
 
08 uninformed search
08 uninformed search08 uninformed search
08 uninformed search
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
 

Similaire à 21 situation calculus

Lecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligenceLecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligencemohsinwaseer1
 
Feedback linearisation
Feedback linearisationFeedback linearisation
Feedback linearisationRamaiahsubasri
 
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]AI Robotics KR
 
Chapter3partialderivatives 150105021210-conversion-gate02
Chapter3partialderivatives 150105021210-conversion-gate02Chapter3partialderivatives 150105021210-conversion-gate02
Chapter3partialderivatives 150105021210-conversion-gate02Cleophas Rwemera
 
Applied Calculus Chapter 3 partial derivatives
Applied Calculus Chapter  3 partial derivativesApplied Calculus Chapter  3 partial derivatives
Applied Calculus Chapter 3 partial derivativesJ C
 
UNIT 1 Adv. anced Mechanisms Design.pptx
UNIT 1 Adv. anced Mechanisms Design.pptxUNIT 1 Adv. anced Mechanisms Design.pptx
UNIT 1 Adv. anced Mechanisms Design.pptxoptimusprime7055
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptxRaviMuthamala1
 
INTRODUCTION_TO_STATICS of rigid bodies.pptx
INTRODUCTION_TO_STATICS of rigid bodies.pptxINTRODUCTION_TO_STATICS of rigid bodies.pptx
INTRODUCTION_TO_STATICS of rigid bodies.pptxMariyaMariya35
 
Cs221 logic-planning
Cs221 logic-planningCs221 logic-planning
Cs221 logic-planningdarwinrlo
 
Cs221 lecture7-fall11
Cs221 lecture7-fall11Cs221 lecture7-fall11
Cs221 lecture7-fall11darwinrlo
 
Super-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robotsSuper-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robotsjournalBEEI
 
Machine learning (13)
Machine learning (13)Machine learning (13)
Machine learning (13)NYversity
 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)PRABHAHARAN429
 

Similaire à 21 situation calculus (20)

Lecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligenceLecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligence
 
Ai unit-3
Ai unit-3Ai unit-3
Ai unit-3
 
Feedback linearisation
Feedback linearisationFeedback linearisation
Feedback linearisation
 
22 planning
22 planning22 planning
22 planning
 
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]
 
Servo systems
Servo systemsServo systems
Servo systems
 
Chapter3partialderivatives 150105021210-conversion-gate02
Chapter3partialderivatives 150105021210-conversion-gate02Chapter3partialderivatives 150105021210-conversion-gate02
Chapter3partialderivatives 150105021210-conversion-gate02
 
Applied Calculus Chapter 3 partial derivatives
Applied Calculus Chapter  3 partial derivativesApplied Calculus Chapter  3 partial derivatives
Applied Calculus Chapter 3 partial derivatives
 
UNIT 1 Adv. anced Mechanisms Design.pptx
UNIT 1 Adv. anced Mechanisms Design.pptxUNIT 1 Adv. anced Mechanisms Design.pptx
UNIT 1 Adv. anced Mechanisms Design.pptx
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptx
 
INTRODUCTION_TO_STATICS of rigid bodies.pptx
INTRODUCTION_TO_STATICS of rigid bodies.pptxINTRODUCTION_TO_STATICS of rigid bodies.pptx
INTRODUCTION_TO_STATICS of rigid bodies.pptx
 
Cs221 logic-planning
Cs221 logic-planningCs221 logic-planning
Cs221 logic-planning
 
Cs221 lecture7-fall11
Cs221 lecture7-fall11Cs221 lecture7-fall11
Cs221 lecture7-fall11
 
Week 4.pdf
Week 4.pdfWeek 4.pdf
Week 4.pdf
 
Super-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robotsSuper-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robots
 
Lesson 3.4
Lesson 3.4Lesson 3.4
Lesson 3.4
 
Machine learning (13)
Machine learning (13)Machine learning (13)
Machine learning (13)
 
Report Final
Report FinalReport Final
Report Final
 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)
 
Lagrangian formulation 1
Lagrangian formulation 1Lagrangian formulation 1
Lagrangian formulation 1
 

Plus de Tianlu Wang

14 pro resolution
14 pro resolution14 pro resolution
14 pro resolutionTianlu Wang
 
13 propositional calculus
13 propositional calculus13 propositional calculus
13 propositional calculusTianlu Wang
 
12 adversal search
12 adversal search12 adversal search
12 adversal searchTianlu Wang
 
11 alternative search
11 alternative search11 alternative search
11 alternative searchTianlu Wang
 
20 bayes learning
20 bayes learning20 bayes learning
20 bayes learningTianlu Wang
 
19 uncertain evidence
19 uncertain evidence19 uncertain evidence
19 uncertain evidenceTianlu Wang
 
18 common knowledge
18 common knowledge18 common knowledge
18 common knowledgeTianlu Wang
 
17 2 expert systems
17 2 expert systems17 2 expert systems
17 2 expert systemsTianlu Wang
 
09 heuristic search
09 heuristic search09 heuristic search
09 heuristic searchTianlu Wang
 
05 state machine
05 state machine05 state machine
05 state machineTianlu Wang
 
04 2 machine evolution
04 2 machine evolution04 2 machine evolution
04 2 machine evolutionTianlu Wang
 
10 1 planning, acting, learning
10 1 planning, acting, learning10 1 planning, acting, learning
10 1 planning, acting, learningTianlu Wang
 
03 neural network
03 neural network03 neural network
03 neural networkTianlu Wang
 

Plus de Tianlu Wang (20)

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
 
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
 
15 predicate
15 predicate15 predicate
15 predicate
 
09 heuristic search
09 heuristic search09 heuristic search
09 heuristic search
 
07 plan agent
07 plan agent07 plan agent
07 plan agent
 
06 robot vision
06 robot vision06 robot vision
06 robot vision
 
05 state machine
05 state machine05 state machine
05 state machine
 
04 2 machine evolution
04 2 machine evolution04 2 machine evolution
04 2 machine evolution
 
04 1 evolution
04 1 evolution04 1 evolution
04 1 evolution
 
10 1 planning, acting, learning
10 1 planning, acting, learning10 1 planning, acting, learning
10 1 planning, acting, learning
 
03 neural network
03 neural network03 neural network
03 neural network
 
02 s r agents
02 s r agents02 s r agents
02 s r agents
 

Dernier

AaliyahBell_themist_v01.pdf .
AaliyahBell_themist_v01.pdf             .AaliyahBell_themist_v01.pdf             .
AaliyahBell_themist_v01.pdf .AaliyahB2
 
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...anilsa9823
 
Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...
Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...
Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...anilsa9823
 
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...anilsa9823
 
Admirable # 00971529501107 # Call Girls at dubai by Dubai Call Girl
Admirable # 00971529501107 # Call Girls at dubai by Dubai Call GirlAdmirable # 00971529501107 # Call Girls at dubai by Dubai Call Girl
Admirable # 00971529501107 # Call Girls at dubai by Dubai Call Girlhome
 
Editorial sephora annual report design project
Editorial sephora annual report design projectEditorial sephora annual report design project
Editorial sephora annual report design projecttbatkhuu1
 
Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...
Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...
Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...anilsa9823
 
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...anilsa9823
 
FULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | DelhiFULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | DelhiSaketCallGirlsCallUs
 
Jeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around EuropeJeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around EuropeJeremy Casson
 
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...anilsa9823
 
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...anilsa9823
 
Alex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson StoryboardAlex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson Storyboardthephillipta
 
Best Call girls in Lucknow - 9548086042 - with hotel room
Best Call girls in Lucknow - 9548086042 - with hotel roomBest Call girls in Lucknow - 9548086042 - with hotel room
Best Call girls in Lucknow - 9548086042 - with hotel roomdiscovermytutordmt
 
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.pdfMARIBEL442158
 
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort ServiceYoung⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Servicesonnydelhi1992
 
(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
 
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112Nitya salvi
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room servicediscovermytutordmt
 
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...anilsa9823
 

Dernier (20)

AaliyahBell_themist_v01.pdf .
AaliyahBell_themist_v01.pdf             .AaliyahBell_themist_v01.pdf             .
AaliyahBell_themist_v01.pdf .
 
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
 
Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...
Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...
Lucknow 💋 (Call Girls) in Mahanagar | Service-oriented sexy call girls 892311...
 
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
 
Admirable # 00971529501107 # Call Girls at dubai by Dubai Call Girl
Admirable # 00971529501107 # Call Girls at dubai by Dubai Call GirlAdmirable # 00971529501107 # Call Girls at dubai by Dubai Call Girl
Admirable # 00971529501107 # Call Girls at dubai by Dubai Call Girl
 
Editorial sephora annual report design project
Editorial sephora annual report design projectEditorial sephora annual report design project
Editorial sephora annual report design project
 
Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...
Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...
Lucknow 💋 Call Girls Service Lucknow ₹7.5k Pick Up & Drop With Cash Payment 8...
 
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
 
FULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | DelhiFULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | Delhi
 
Jeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around EuropeJeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around Europe
 
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
 
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
 
Alex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson StoryboardAlex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson Storyboard
 
Best Call girls in Lucknow - 9548086042 - with hotel room
Best Call girls in Lucknow - 9548086042 - with hotel roomBest Call girls in Lucknow - 9548086042 - with hotel room
Best Call girls in Lucknow - 9548086042 - with hotel room
 
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
 
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort ServiceYoung⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
 
(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 🫶
 
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room service
 
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...
 

21 situation calculus

  • 2. 2 Outline  Reasoning about States and Actions  Some Difficulties  Generating Plans  Additional Readings and Discussion
  • 3. 3 21.1 Reasoning about States and Actions  To investigate feature-based planning methods much more thoroughly, richer language to describe features and the constraints among them will be introduced.  Generally, a goal condition can be described by any wff in the predicate calculus, and we can determine if a goal is satisfied in a world state described by formulas by attempting to prove the goal wff from those formulas.
  • 4. 4 Situation calculus (1/3)  A predicate calculus formalization of states, actions, and the effects of actions on states.  Our knowledge about states and actions as formulas in the first-order predicate calculus  Then use a deduction system to ask questions such as “Does there exist a state to satisfy certain properties, and if so, how can the present state be transformed into that state by actions”  A plan for achieving the desired state.
  • 5. 5 Situation calculus (2/3)  The situation calculus was used in some early AI planning systems.  However, the formalism remains important for exposing and helping to clarify conceptual problems.
  • 6. 6 Situation calculus (3/3)  In order to describe states in the situation calculus, we reify states.  States can be denoted by constant symbols (S0, S1, S2, …), by variables, or by functional expressions.  Fluents: the atomic wff can denote relations over states.
  • 7. 7 Example (Figure 21.1)  First-order predicate calculus On(B,A)On(A,C)On(C,F1)Clear(B)…  True statement On(B,A,S0)On(A,C,S0)On(C,F1,S0)Clear(B, S0)  Prepositions true of all states (x,y,s)[On(x,y,s)(y=F1) Clear(y,s)] (s)Clear(F1,s)
  • 8. 8 Actions and the effects (1/2) 1. Reify the action – Actions can be denoted by constant symbols, by variables, or by functional expressions – Generally, we can represent a family of move actions by the schema, move(x,y,z), where x, y, and z are schema variables. 2. Imagine a function constant, do, that denotes a function that maps actions and states into states. – do(,) denotes a function that maps the state-action pair into the state obtained by performing the action denoted by  in the state denoted by .
  • 9. 9 Actions and the effects (2/2) 3. Express the effects of actions by wffs. – There are two such wffs for each action-fluent pair. – For the pair {On, move}. [On(x,y,s)Clear(x,s)Clear(z,s)(xz) On(x,z,do(move(x,y,z),s))] And [On(x,y,s)Clear(x,s)Clear(z,s)(xz)  On(x,z,do(move(x,y,z),s))] positive effect axiom negative effect axiom preconditions consequent
  • 10. 10 Effect axioms  We can also write effect axioms for the {Clear, move} pair. [On(x,y,s)Clear(x,s)Clear(z,s)(xz)(yz) Clear(y,do(move(x,y,z),s))] [On(x,y,s)Clear(x,s)Clear(z,s)(xz)(zF1)  Clear(z,do(move(x,y,z),s))]  The antecedents consist of two parts – One part expresses the preconditions under which the action can be executed – The other part expresses the condition under which the action will have the effect expressed in the consequent of the axiom.
  • 11. 11 Figure 21.2 Mapping a State-Action Pair into a State
  • 12. 12 21.2.1 Frame Axioms (1/3)  Not all of the statements true about state do(move(B,A,F1),S0) can be inferred by the effects axioms. – Before the move, such as that C was on the floor and that B was clear are also true of the state after the move.  In order to make inferences about these constancies, we need frame axioms for each action and for each fluent that doesn’t change as a result of the action.
  • 13. 13 21.2.1 Frame Axioms (2/3)  The frame axioms for the pair, {(move, On)} [On(x,y,s)(xu)]  On(x,y,do(move(u,y,z),s)) (On(x,y,s)[(xu)(yz)]  On(x,y,do(move(u,v,z),s))  The frame axioms for the pair, {move, Clear} Clear(u,s)(uz)]  Clear(u,do(move(x,y,z),s)) Clear(u,s)(uy)  Clear(u,do(move(x,y,z),s)) positive frame axioms negative frame axioms
  • 14. 14 21.2.1 Frame Axioms (3/3)  Frame axioms are used to prove that a property of a state remains true if the state is changed by an action that doesn’t affect that property.  Frame problem – The various difficulties associated with dealing with fluents that are not affected by actions.
  • 15. 15 21.2.2 Qualifications(限制)  The antecedent of the transition formula describing an action such as move gives the preconditions for a rather idealized case. – To be more precise, adding other qualification such as Too_heavy(x,s), Glued_down(x,s), Armbroken(s), …  Qualification problem – The difficulty of specifying all of the important qualifications.
  • 16. 16 21.2.3 Ramifications  Ramification problem(分枝) – Keeping track of which derived formulas survive subsequent state transitions.
  • 17. 17 21.3 Generating Plans  To generate a plan that achieves some goal,  (s), – We attempt to prove (s)  (s) – And use the answer predicate to extract the state as a function of the nested actions that produce it.
  • 18. 18 Example (Figure 21.1) (1/2)  We want a plan that gets block B on the floor from the initial state, s0, given in Figure 21.1.  Prove (s) On(B, F1, s)  Resolution refutation: – The negation of (s) On(B, F1, s), together with the formulas that describe S0 and the effects of move are inconsistent. – Use an answer predicate to capture the substitutions made during the proof.
  • 19. 19 Example (Figure 21.1) (2/2) On(A,C,S0) On(C,F1,S0) Clear(B,S0) Clear(F1,S0) [On(x,y,s)Clear(x,s) Clear(z,s) (xz) On(x,z,do(move(x,y,z),s))] (s) On(B,F1,s) ? Answer: ans(do(move(B,A,F1),S0))
  • 20. 20 Difficulties  If several actions are required to achieve a goal, the action functions would be nested.  The proof effort is too large even for simple plan.