State-Space Representation
General Problem Solving via
simplification
Read Chapter 3
What you should know
• Create a state-space model
• Estimate number of states
• Identify goal or objective function
• Identify operators
• Next Lecture: how to search/use model
Everyday Problem Solving
• Route Planning
– Finding and navigating to a classroom seat
• Replanning if someone cuts in front
– Driving to school
• Constant updating due to traffic
• Putting the dishes away
– Spatial reasoning
Goal: Generality
• People are good at multiple tasks
• Same model of problem solving for all
problems
• Generality via abstraction and
simplification.
• Toy problems as benchmarks for methods,
not goal.
• AI criticism: generality is not free
State-Space Model
• Initial State
• Operators: maps a state into a next state
– alternative: successors of state
• Goal Predicate: test to see if goal achieved
• Optional:
– cost of operators
– cost of solution
Major Simplifications
• You know the world perfectly
– No one tells you how to represent the world
– Sensors always make mistakes
• You know what operators do
– Operators don’t always work
• You know the set of legal operators
– No one tells you the operators
8-Queens Model 1
• Initial State: empty 8 by 8 board
• Operators:
– add a queen to empty square
– remove a queen
– [move a queen to new empty square]
• Goal: no queen attacks another queen
– Eight queens on board
• Good enough? Can a solution be found?
8-Queens Model 2
• Initial State: empty 8 by 8 board
• Operators:
– add ith queen to some column (i = 1..8)
– Ith queen is in row i
• Goal: no queen attacks another queen
– 8 queens on board
• Good enough?
8-Queens Model 3
• Initial State:
– random placement of 8 queens ( 1 per row)
• Operators:
– move a queen to new position (in same row)
• Goal: no queen attacks another queen
– 8 queens on board
Minton
• Million Queens problem
• Can’t be solved by complete methods
• Easy by Local Improvement –
– to be covered next week
• Same method works for many real-world
problems.
Traveling Salesman Problem
• Given: n cities and distances
• Initial State: fix a city
• Operators:
– add a city to current path
– [move a city to new position]
– [swap two cities]
– [UNCROSS]
• Goal: cheapest path visiting all cities once and
returning.
TSP
• Clay prize: $1,000,000 if prove can be done
in polynomial time or not.
• Number of paths is N!
• Similar to many real-world problems.
• Often content with best achievable:
bounded rationality
Sliding Tile Puzzle
• 8 by 8 or 15 by 15 board
• Initial State:
• Operators:
• Goal:
Sliding Tile Puzzle
• 8 by 8 or 15 by 15 board
• Initial State: random (nearly) of number 1..7
or 1..14.
• Operators:
– slide tile to adjacent free square.
• Goal: All tiles in order.
• Note: Any complete information puzzle fits
this model.
Cryptarithmetic
• Ex: SEND+MORE = MONEY
• Initial State:
• Operators:
• Goal:
Cryptarithmetic
• SEND+MORE = MONEY
• Initial State: no variable has a value
• Operators:
– assign a variable a digit (0..9) (no dups)
– unassign a variable
• Goal: arithmetic statement is true.
• Example of Constraint Satisfaction Problem
Boolean Satisfiability (3-sat)
• $1,000,000 problem
• Problem example (a1 +~a4+a7)&(….)
• Initial State:
• Operators
• Goal:
Boolean Satisfiability (3-sat)
• Problem example (a1 +~a4+a7)&(….)
• Initial State: no variables are assigned values
• Operators
– assign variable to true or false
– negate value of variable (t->f, f->t)
• Goal: boolean expression is satisfied.
• $1,000,000 problem
• Ratio of clauses to variables breaks problem into 3 classes:
– low ratio : easy to solve
– high ratio: easy to show unsolvable
– mid ratio: hard
CrossWord Solving
• Initial-State: empty board
• Operators:
– add a word that
• Matches definition
• Matches filled in letters
– Remove a word
• Goal: board filled
Most Common Word
(Misspelled) Finding
• Given: word length + set of strings
• Find: most common word to all strings
– Warning: word may be misspelled.
• length 5: hellohoutemary position 5
• bargainsamhotseview position 10
• tomdogarmyprogramhomse position 17
• answer: HOUSE
Misspelled Word Finding
• Let pi be position of word in string i
• Initial state: pi = random position
• Operators: assign pi to new position
• Goal state: position yielding word with
fewest misspellings
• Problem derived from Bioinformatics
– finds regulatory elements; these determine
whether gene are made into proteins.

More Related Content

PPT
Lec2 state space
PPT
Various Uninform Search Strategies in AI.ppt
PPT
Solving problems by searching
PPTX
AI&ML-UNIT-1 problem solving agents.pptx
PPTX
UninformedSearch (2).pptx
PDF
03_UninformedSearch.pdf
PPT
Uninformed Search goal based agents Representing states and operations
PPT
3 probsolver edited.ppt
Lec2 state space
Various Uninform Search Strategies in AI.ppt
Solving problems by searching
AI&ML-UNIT-1 problem solving agents.pptx
UninformedSearch (2).pptx
03_UninformedSearch.pdf
Uninformed Search goal based agents Representing states and operations
3 probsolver edited.ppt

Similar to Lecutre 2-State Space for control system (20)

PPT
state-spaces29Sep06.ppt
PDF
Lecture is related to the topic of Artificial intelligence
PDF
Search problems in Artificial Intelligence
PPTX
AI module 2 presentation under VTU Syllabus
PDF
Week 5.pdf
PPTX
Lecture - 2 - Problem Solving.pptx bbbbbb
PPT
02-solving-problems-by-searching-(us).ppt
PDF
Lecture 3 problem solving
PPTX
3. Module_2_Chapter_3hvghcyttrctrctfcf.pptx
PPTX
PROBLEM SOLVING AGENTS - SEARCH STRATEGIES
PPT
Goal stack planning.ppt
PPT
CH2_AI_Lecture1.ppt
PPSX
Week 2 a - Search.ppsx this is used to search things
PPT
Cs221 lecture7-fall11
PPT
Cs221 logic-planning
PPTX
Problem solving
PDF
problem solving in Artificial intelligence .pdf
PPT
aaaaaaaaaaaaaaaaaaaaaaaaaaac24_planning.ppt
PPT
3.AILec5nkjnkjnkjnkjnkjnjhuhgvkjhbkhj-6.ppt
PDF
chapter 2 Problem Solving.pdf
state-spaces29Sep06.ppt
Lecture is related to the topic of Artificial intelligence
Search problems in Artificial Intelligence
AI module 2 presentation under VTU Syllabus
Week 5.pdf
Lecture - 2 - Problem Solving.pptx bbbbbb
02-solving-problems-by-searching-(us).ppt
Lecture 3 problem solving
3. Module_2_Chapter_3hvghcyttrctrctfcf.pptx
PROBLEM SOLVING AGENTS - SEARCH STRATEGIES
Goal stack planning.ppt
CH2_AI_Lecture1.ppt
Week 2 a - Search.ppsx this is used to search things
Cs221 lecture7-fall11
Cs221 logic-planning
Problem solving
problem solving in Artificial intelligence .pdf
aaaaaaaaaaaaaaaaaaaaaaaaaaac24_planning.ppt
3.AILec5nkjnkjnkjnkjnkjnjhuhgvkjhbkhj-6.ppt
chapter 2 Problem Solving.pdf
Ad

More from Devid John Magnus (20)

PPTX
Lecture 21 ppt Q learning................
PPTX
Robot Analysis for balancing, kinematics
PPTX
IEEE_ updated _contents_Harmonization Virtual Meeting
PPT
IROS13_Forster_CSFM k
PPT
STRIDE PPT for faculty recruitment ......
PDF
Introduction to DAQ with LabVIEW - Overview.pdf
PPT
Basics of encoders DynAPAR..........................
PPT
Electric motor power point presentation
PPT
Electricity and magnetism induction and Oscillation
PPT
lecture4 Resistor Capacitor Inductor and its properties
PPT
Lecture 7- Robotics - Types of robotic Grippers.ppt
PPT
Process Synchronization for operating Systems
PPT
Mechatronics System for different function and controller design
PPT
Data manipulation for Mechatronics System
PPT
Effectors and Actuators use in mechatronics systems
PPT
Introduction to Mechatronics System and Data Transfer
PPT
Introduction to Mechatronics System .......
PPTX
construction_of_root_loci_ Hussian Lectures
PPT
Mechatrnoics PPT Lecture notes on Actuators
PPT
State Space Representation of Mechanical System
Lecture 21 ppt Q learning................
Robot Analysis for balancing, kinematics
IEEE_ updated _contents_Harmonization Virtual Meeting
IROS13_Forster_CSFM k
STRIDE PPT for faculty recruitment ......
Introduction to DAQ with LabVIEW - Overview.pdf
Basics of encoders DynAPAR..........................
Electric motor power point presentation
Electricity and magnetism induction and Oscillation
lecture4 Resistor Capacitor Inductor and its properties
Lecture 7- Robotics - Types of robotic Grippers.ppt
Process Synchronization for operating Systems
Mechatronics System for different function and controller design
Data manipulation for Mechatronics System
Effectors and Actuators use in mechatronics systems
Introduction to Mechatronics System and Data Transfer
Introduction to Mechatronics System .......
construction_of_root_loci_ Hussian Lectures
Mechatrnoics PPT Lecture notes on Actuators
State Space Representation of Mechanical System
Ad

Recently uploaded (20)

PPTX
Principal presentation for NAAC (1).pptx
PPTX
CONTRACTS IN CONSTRUCTION PROJECTS: TYPES
PDF
Computer System Architecture 3rd Edition-M Morris Mano.pdf
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
PRASUNET_20240614003_231416_0000[1].pptx
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PPTX
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PPTX
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
PDF
Cryptography and Network Security-Module-I.pdf
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
Design of Material Handling Equipment Lecture Note
PPTX
CyberSecurity Mobile and Wireless Devices
PPTX
Measurement Uncertainty and Measurement System analysis
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PPTX
Petroleum Refining & Petrochemicals.pptx
PPTX
Amdahl’s law is explained in the above power point presentations
Principal presentation for NAAC (1).pptx
CONTRACTS IN CONSTRUCTION PROJECTS: TYPES
Computer System Architecture 3rd Edition-M Morris Mano.pdf
"Array and Linked List in Data Structures with Types, Operations, Implementat...
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PRASUNET_20240614003_231416_0000[1].pptx
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
August -2025_Top10 Read_Articles_ijait.pdf
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
Cryptography and Network Security-Module-I.pdf
distributed database system" (DDBS) is often used to refer to both the distri...
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Design of Material Handling Equipment Lecture Note
CyberSecurity Mobile and Wireless Devices
Measurement Uncertainty and Measurement System analysis
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
Petroleum Refining & Petrochemicals.pptx
Amdahl’s law is explained in the above power point presentations

Lecutre 2-State Space for control system

  • 1. State-Space Representation General Problem Solving via simplification Read Chapter 3
  • 2. What you should know • Create a state-space model • Estimate number of states • Identify goal or objective function • Identify operators • Next Lecture: how to search/use model
  • 3. Everyday Problem Solving • Route Planning – Finding and navigating to a classroom seat • Replanning if someone cuts in front – Driving to school • Constant updating due to traffic • Putting the dishes away – Spatial reasoning
  • 4. Goal: Generality • People are good at multiple tasks • Same model of problem solving for all problems • Generality via abstraction and simplification. • Toy problems as benchmarks for methods, not goal. • AI criticism: generality is not free
  • 5. State-Space Model • Initial State • Operators: maps a state into a next state – alternative: successors of state • Goal Predicate: test to see if goal achieved • Optional: – cost of operators – cost of solution
  • 6. Major Simplifications • You know the world perfectly – No one tells you how to represent the world – Sensors always make mistakes • You know what operators do – Operators don’t always work • You know the set of legal operators – No one tells you the operators
  • 7. 8-Queens Model 1 • Initial State: empty 8 by 8 board • Operators: – add a queen to empty square – remove a queen – [move a queen to new empty square] • Goal: no queen attacks another queen – Eight queens on board • Good enough? Can a solution be found?
  • 8. 8-Queens Model 2 • Initial State: empty 8 by 8 board • Operators: – add ith queen to some column (i = 1..8) – Ith queen is in row i • Goal: no queen attacks another queen – 8 queens on board • Good enough?
  • 9. 8-Queens Model 3 • Initial State: – random placement of 8 queens ( 1 per row) • Operators: – move a queen to new position (in same row) • Goal: no queen attacks another queen – 8 queens on board
  • 10. Minton • Million Queens problem • Can’t be solved by complete methods • Easy by Local Improvement – – to be covered next week • Same method works for many real-world problems.
  • 11. Traveling Salesman Problem • Given: n cities and distances • Initial State: fix a city • Operators: – add a city to current path – [move a city to new position] – [swap two cities] – [UNCROSS] • Goal: cheapest path visiting all cities once and returning.
  • 12. TSP • Clay prize: $1,000,000 if prove can be done in polynomial time or not. • Number of paths is N! • Similar to many real-world problems. • Often content with best achievable: bounded rationality
  • 13. Sliding Tile Puzzle • 8 by 8 or 15 by 15 board • Initial State: • Operators: • Goal:
  • 14. Sliding Tile Puzzle • 8 by 8 or 15 by 15 board • Initial State: random (nearly) of number 1..7 or 1..14. • Operators: – slide tile to adjacent free square. • Goal: All tiles in order. • Note: Any complete information puzzle fits this model.
  • 15. Cryptarithmetic • Ex: SEND+MORE = MONEY • Initial State: • Operators: • Goal:
  • 16. Cryptarithmetic • SEND+MORE = MONEY • Initial State: no variable has a value • Operators: – assign a variable a digit (0..9) (no dups) – unassign a variable • Goal: arithmetic statement is true. • Example of Constraint Satisfaction Problem
  • 17. Boolean Satisfiability (3-sat) • $1,000,000 problem • Problem example (a1 +~a4+a7)&(….) • Initial State: • Operators • Goal:
  • 18. Boolean Satisfiability (3-sat) • Problem example (a1 +~a4+a7)&(….) • Initial State: no variables are assigned values • Operators – assign variable to true or false – negate value of variable (t->f, f->t) • Goal: boolean expression is satisfied. • $1,000,000 problem • Ratio of clauses to variables breaks problem into 3 classes: – low ratio : easy to solve – high ratio: easy to show unsolvable – mid ratio: hard
  • 19. CrossWord Solving • Initial-State: empty board • Operators: – add a word that • Matches definition • Matches filled in letters – Remove a word • Goal: board filled
  • 20. Most Common Word (Misspelled) Finding • Given: word length + set of strings • Find: most common word to all strings – Warning: word may be misspelled. • length 5: hellohoutemary position 5 • bargainsamhotseview position 10 • tomdogarmyprogramhomse position 17 • answer: HOUSE
  • 21. Misspelled Word Finding • Let pi be position of word in string i • Initial state: pi = random position • Operators: assign pi to new position • Goal state: position yielding word with fewest misspellings • Problem derived from Bioinformatics – finds regulatory elements; these determine whether gene are made into proteins.