Computer Science CPSC 322
Le Lecture ture 3
AI AI ap appl plicatio ications, ns, Un Uninf nform
- rmed
ed Se Sear arch h St Strat ategies egies (Ch Ch 3. 3.1-3.4) 3.4)
1
Le Lecture ture 3 AI AI ap appl plicatio ications, ns, Un - - PowerPoint PPT Presentation
Computer Science CPSC 322 Le Lecture ture 3 AI AI ap appl plicatio ications, ns, Un Uninf nform ormed ed Se Sear arch h St Strat ategies egies (Ch Ch 3. 3.1-3.4) 3.4) 1 Todays Lecture Discussion on AI applications
1
2
3
4
5
6
7
Search Arc Consistency Search Search Logic gics ST STRIPS Variab riables les + + Cons nstra train ints ts Value Iteration Variable Elimination Baye yesia sian Nets Decis cision ion Nets
Representatio esentation Reasoning Technique
Variable Elimination
Slide 8
9
tes ar are node nodes s and actions ions are e lin links between them.
infinite)
10
11
Slide 12
either dirty or not
be in either in r1 or r2
Slide 13
either dirty or not
be in either in r1 or r2
Feature-based representation:
Possible start state Possible goal state
Slide 14
either dirty or not
be in either in r1 or r2
Feature-based representation:
Possible start state Possible goal state
16
17
Loc() feature can take k possible values For each room i, dirty_room_i can take 2 values, and there are k of these features
18
action applied to a given state
19
action applied to a given state
20
action applied to a given state
21
action applied to a given state
22
action applied to a given state
23
24
25
26
Slide 27
Slide 28
Slide 29
30
Slide 31
32
33
nodes, incrementally explore paths from the start nodes.
been explored from the start node
into the unexplored nodes until a goal node is encountered.
34
Ends of paths on frontier
35
Ends of paths
Input ut:
goal node frontier:= [<s>: s is a start node]; While ile frontier is not empty: select lect and remove emove path <no,….,nk> from frontier; If If goal( al(nk) return urn <no,….,nk>; For r every ery neighbor n of nk, add add <no,….,nk, n> to frontier; end end
36
Ends of paths on frontier
Slide 37
Slide 38
m
39
40
42