CS 188: Artificial Intelligence Spring Announcements

Similar documents
CS 188: Artificial Intelligence Spring Announcements

Announcements. CS 188: Artificial Intelligence Fall Today. Reflex Agents. Goal Based Agents. Search Problems

CS 188: Artificial Intelligence Fall Announcements

Announcements. CS 188: Artificial Intelligence Fall Reflex Agents. Today. Goal Based Agents. Search Problems

CS 188: Artificial Intelligence Fall 2011

CS 188: Artificial Intelligence Fall Announcements

CS 188: Artificial Intelligence Spring Announcements

Announcements. CS 188: Artificial Intelligence Spring More Announcements. Today. From Last Time: Reflex Agents.

CS 188: Artificial Intelligence Spring 2009

Outline. CSE 473: Artificial Intelligence Spring Types of Agents

Reminder. CS 188: Artificial Intelligence. A reflex agent for pacman. Reflex Agent. A reflex agent for pacman (3) A reflex agent for pacman (2)

CS 188: Artificial Intelligence

Today. CS 232: Ar)ficial Intelligence. Search. Agents that Plan. September 3 rd, 2015 Search Problems. Uninformed Search Methods

CSE 573: Artificial Intelligence Autumn Search thru a. Goal Based Agents 9/28/2012. Agent vs. Environment. Example: N Queens

Searching: Deterministic single-agent

A search problem. Formalizing a search problem. Our Search Problem. Our Search Problem. Overview

Course Logistics Textbook: Artificial Intelligence: A Modern Approach, Russell and Norvig (3 rd ed) Topics

Announcements. CS 188: Artificial Intelligence Fall Office hours, Section. Today. DFS and BFS. Recap: Search. Lecture 3: A* Search 9/3/2009

Announcements. CS 188: Artificial Intelligence. Costs on Actions. Recap: Search. Lecture 3: A* Search

Self-Adjusting Top Trees

Exam 2 Solutions. Jonathan Turner 4/2/2012. CS 542 Advanced Data Structures and Algorithms

Search: Cost & Heuristics

Problem solving by search

Easy Steps to build a part number... Tri-Start Series III CF P

Tangram Fractions Overview: Students will analyze standard and nonstandard

d e c b a d c b a d e c b a a c a d c c e b

10.3 The Quadratic Formula

Lecture 20: Minimum Spanning Trees (CLRS 23)

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

OpenMx Matrices and Operators

Weighted Graphs. Weighted graphs may be either directed or undirected.

T h e C S E T I P r o j e c t

P a g e 3 6 of R e p o r t P B 4 / 0 9

4.1 Interval Scheduling. Chapter 4. Greedy Algorithms. Interval Scheduling: Greedy Algorithms. Interval Scheduling. Interval scheduling.

Series III, TV Breakaway Fail-Safe Connectors Quick-Disconnect with an Axial Pull of Lanyard

Classical Theory of Fourier Series : Demystified and Generalised VIVEK V. RANE. The Institute of Science, 15, Madam Cama Road, Mumbai

Multicast routing algorithm based on Extended Simulated Annealing Algorithm

1 Introduction to Modulo 7 Arithmetic

Chapter 6 Perturbation theory

Trade Patterns, Production networks, and Trade and employment in the Asia-US region

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp

LWC 434 East First Street 4440 Garwood Place

7 ACM FOR FRAME 2SET 6 FRAME 2SET 5 ACM FOR MAIN FRAME 2SET 4 MAIN FRAME 2SET 3 POLE ASSLY 1 2 CROWN STRUCTURE ASSLY 1 1 CROWN ASSLY 1

COMP108 Algorithmic Foundations

The local orthonormal basis set (r,θ,φ) is related to the Cartesian system by:

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms

CSE 373: AVL trees. Warmup: Warmup. Interlude: Exploring the balance invariant. AVL Trees: Invariants. AVL tree invariants review

Spanning Trees. BFS, DFS spanning tree Minimum spanning tree. March 28, 2018 Cinda Heeren / Geoffrey Tien 1

Stable Matching for Spectrum Market with Guaranteed Minimum Requirement

Appendix. In the absence of default risk, the benefit of the tax shield due to debt financing by the firm is 1 C E C

Depth First Search. Yufei Tao. Department of Computer Science and Engineering Chinese University of Hong Kong

Grade 7/8 Math Circles March 4/5, Graph Theory I- Solutions

176 5 t h Fl oo r. 337 P o ly me r Ma te ri al s

BACKFILLED 6" MIN TRENCH BOTT OF CONT FTG PROVIDE SLEEVE 1" CLR AROUND PIPE - TYP BOTTOM OF TRENCH PIPE SHALL NOT EXTEND BELOW THIS LINE

BACKFILLED 6" MIN TRENCH BOTT OF CONT FTG PROVIDE SLEEVE 1" CLR AROUND PIPE - TYP BOTTOM OF TRENCH PIPE SHALL NOT EXTEND BELOW THIS LINE

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example

16.unified Introduction to Computers and Programming. SOLUTIONS to Examination 4/30/04 9:05am - 10:00am

KEB INVERTER L1 L2 L3 FLC - RELAY 1 COMMON I1 - APPROACH CLOSE 0V - DIGITAL COMMON FLA - RELAY 1 N.O. AN1+ - ANALOG 1 (+) CRF - +10V OUTPUT

Math 166 Week in Review 2 Sections 1.1b, 1.2, 1.3, & 1.4

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018

CS 241 Analysis of Algorithms

Problem 1. Solution: = show that for a constant number of particles: c and V. a) Using the definitions of P

Call for Applications

Distributed Set Reachability

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs.

CS 103 BFS Alorithm. Mark Redekopp

Planar Upward Drawings

Improving Union. Implementation. Union-by-size Code. Union-by-Size Find Analysis. Path Compression! Improving Find find(e)

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V

Rectangular Waveguides

ENGO 431 Analytical Photogrammetry


Who is this Great Team? Nickname. Strangest Gift/Friend. Hometown. Best Teacher. Hobby. Travel Destination. 8 G People, Places & Possibilities

L...,,...lllM" l)-""" Si_...,...

CS 188: Artificial Intelligence Spring 2007

Functions and Graphs 1. (a) (b) (c) (f) (e) (d) 2. (a) (b) (c) (d)

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1

P a g e 5 1 of R e p o r t P B 4 / 0 9

INFLUENCE OF ANTICLIMBING DEVICE ON THE VARIATION OF LOADS ON WHEELS IN DIESEL ELECTRIC 4000 HP

February 12 th December 2018

G-001 CHATHAM HARBOR AUNT LYDIA'S COVE CHATHAM ATLANTIC OCEAN INDEX OF NAVIGATION AIDS GENERAL NOTES: GENERAL PLAN A6 SCALE: 1" = 500' CANADA

Chem 107: Inorganic Chemistry (40720)

Nefertiti. Echoes of. Regal components evoke visions of the past MULTIPLE STITCHES. designed by Helena Tang-Lim

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s?

Gavilan JCCD Trustee Areas Plan Adopted November 10, 2015

In which direction do compass needles always align? Why?

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes.

(Minimum) Spanning Trees

Beechwood Music Department Staff

12 - M G P L Z - M9BW. Port type. Bore size ø12, ø16 20/25/32/40/50/ MPa 10 C to 60 C (With no condensation) 50 to 400 mm/s +1.

Daily Skill Practice

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

I N A C O M P L E X W O R L D

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura

Table of C on t en t s Global Campus 21 in N umbe r s R e g ional Capac it y D e v e lopme nt in E-L e ar ning Structure a n d C o m p o n en ts R ea

I M P O R T A N T S A F E T Y I N S T R U C T I O N S W h e n u s i n g t h i s e l e c t r o n i c d e v i c e, b a s i c p r e c a u t i o n s s h o

a b c cat CAT A B C Aa Bb Cc cat cat Lesson 1 (Part 1) Verbal lesson: Capital Letters Make The Same Sound Lesson 1 (Part 1) continued...

WEB CONNECTION SCHEDULE

COMP 250. Lecture 29. graph traversal. Nov. 15/16, 2017

BASIC CAGE DETAILS SHOWN 3D MODEL: PSM ASY INNER WALL TABS ARE COINED OVER BASE AND COVER FOR RIGIDITY SPRING FINGERS CLOSED TOP

Transcription:

C 188: Atiiil Intllign ing 2010 Ltu 2: Quu-Bs 1/21/2010 Pit Al UC Bkly Mny slis om Dn Klin Announmnts Pojt 0: Pyton Tutoil Out toy. Du nxt wk Tusy. L sssions in 271 o: Mony 2-3m Wnsy 4-5m T l tim is otionl, ut P0 itsl is not On sumit, you soul gt mil om t utog Potntilly mo l sssions o oi ous l in t l --- tk t nnounmnts stion on t wg! Wittn 1: On t w toy, lso u nxt wk Tusy. tions stting nxt wk, lotion: 285 Coy tion 101: Tu 3-4m tion 104: Tu 4-5m tion 102: W 11-noon tion 103: W noon-1m 1

Toy Polms Uninom Mtos (t viw o som) Dt-Fist Bt-Fist Uniom-Cost Huisti Mtos (nw o ll) Gy Rmin Only vy smll tion o AI is out mking omuts ly gms intlligntly Rll: omut vision, ntul lngug, ootis, min lning, omuttionl iology, t. Tt ing si: gms tn to ovi ltivly siml xml sttings wi gt to illustt n ln out lgoitms wi unli mny s o AI 2

Attmt t AI o siml gm Rlx gnt Wil(oo lt) ot t ossil itions to mov oing to t mount o oo in ition Go in t ition wit t lgst mount o oo Attmt t AI o siml gm Rlx gnt Wil(oo lt) ot t ossil itions to mov oing to t mount o oo in ition Go in t ition wit t lgst mount o oo 3

Attmt t AI o siml gm Rlx gnt Wil(oo lt) ot t ossil itions to mov oing to t mount o oo in ition Go in t ition wit t lgst mount o oo But, i ot otions vill, xlu t ition w just m om Attmt t AI o siml gm Rlx gnt Wil(oo lt) ot t ossil itions to mov oing to t mount o oo in ition Go in t ition wit t lgst mount o oo But, i ot otions vill, xlu t ition w just m om 4

Attmt t AI o siml gm Rlx gnt Wil(oo lt) I n k going in t unt ition, o so Otwis: ot itions oing to t mount o oo Go in t ition wit t lgst mount o oo But, i ot otions vill, xlu t ition w just m om Rlx Agnts Rlx gnts: Coos tion s on unt t (n my mmoy) My v mmoy o mol o t wol s unt stt Do not onsi t utu onsuns o ti tions At on ow t wol I Cn lx gnt tionl? 5

Gol Bs Agnts Gol-s gnts: Pln Ask wt i Disions s on (yotsiz) onsuns o tions Must v mol o ow t wol volvs in sons to tions At on ow t wol WOULD BE Polms A s olm onsists o: A stt s A susso untion N, 1.0 A stt stt n gol tst E, 1.0 A solution is sun o tions ( ln) wi tnsoms t stt stt to gol stt 6

Exml: Romni tt s: Citis usso untion: Go to j ity wit ost = ist tt stt: A Gol tst: Is stt == Bust? olution? tt Gs tt s g: A mtmtil snttion o s olm Fo vy s olm, t s osoning stt s g T susso untion is snt y s G W n ly uil tis g in mmoy (so w on t) Riiulously tiny s g o tiny s olm 7

tt izs? Polm: Et ll o t oo Pmn ositions: 10 x 12 = 120 Foo ount: 30 Gost ositions: 12 Pmn ing: u, own, lt, igt Ts N, 1.0 E, 1.0 A s t: Tis is wt i t o lns n outoms tt stt t t oot no Ciln oson to sussos Nos ontin stts, oson to PLAN to tos stts Fo most olms, w n nv tully uil t wol t 8

Anot T : Exn out ossil lns Mintin ing o unxn lns Ty to xn s w t nos s ossil Gnl T Imotnt is: Fing Exnsion Exlotion sttgy Dtil suoo is in t ook! Min ustion: wi ing nos to xlo? 9

10 Exml: T G tt Gs vs. Ts G G G W onstut ot on mn n w onstut s littl s ossil. E NODE in in t s t is n nti PATH in t olm g.

11 Rviw: Dt Fist G G G ttgy: xn st no ist Imlmnttion: Fing is LIFO stk Rviw: Bt Fist G G G Tis ttgy: xn sllowst no ist Imlmnttion: Fing is FIFO uu

Algoitm Potis Comlt? Gunt to in solution i on xists? Otiml? Gunt to in t lst ost t? Tim omlxity? omlxity? Vils: n Num o stts in t olm T vg ning to B (t vg num o sussos) C* Cost o lst ost solution s m Dt o t sllowst solution Mx t o t s t DF Algoitm Comlt Otiml Tim DF Dt Fist N N N N O(B Ininit LMAX ) O(LMAX) Ininit TART GOAL Ininit ts mk DF inomlt How n w ix tis? 12

DF Wit yl king, DF is omlt.* 1 no nos 2 nos m tis m nos Algoitm Comlt Otiml Tim DF w/ Pt Cking Y N O( m+1 ) O(m) Wn is DF otiml? * O g s nxt ltu. BF Algoitm Comlt Otiml Tim DF BF w/ Pt Cking Y N O( m+1 ) O(m) Y N* O( s+1 ) O( s ) s tis 1 no nos 2 nos s nos m nos Wn is BF otiml? 13

Comisons Wn will BF outom DF? Wn will DF outom BF? Ittiv Dning Ittiv ning uss DF s suoutin: 1. Do DF wi only ss o ts o lngt 1 o lss. 2. I 1 il, o DF wi only ss ts o lngt 2 o lss. 3. I 2 il, o DF wi only ss ts o lngt 3 o lss..n so on. Algoitm Comlt Otiml Tim DF BF ID w/ Pt Cking Y N O( m+1 ) O(m) Y N* O( s+1 ) O( s ) Y N* O( s+1 ) O(s) 14

Costs on Ations TART 2 3 1 1 2 3 8 2 9 8 2 4 4 15 GOAL 2 1 Noti tt BF ins t sotst t in tms o num o tnsitions. It os not in t lst-ost t. W will uikly ov n lgoitm wi os in t lst-ost t. Uniom Cost Exn st no ist: Fing is ioity uu Cost ontous 4 6 11 3 9 1 13 5 7 8 11 G 10 1 17 11 3 0 G 2 1 15 8 2 9 8 1 16 G 2 1 15

Pioity Quu Rs A ioity uu is t stutu in wi you n inst n tiv (ky, vlu) is wit t ollowing otions:.us(ky, vlu).o() insts (ky, vlu) into t uu. tuns t ky wit t lowst vlu, n movs it om t uu. You n s ky s ioity y using it gin Unlik gul uu, instions n t onstnt tim, usully O(log n) W ll n ioity uus o ost-snsitiv s mtos Uniom Cost Algoitm Comlt Otiml Tim DF BF UC w/ Pt Cking Y N O( m+1 ) O(m) Y N O( s+1 ) O( s ) Y* Y O( C*/ε ) O( C*/ε ) C*/ε tis * UC n il i tions n gt itily 16

Uniom Cost Issus Rmm: xlos insing ost ontous T goo: UC is omlt n otiml! 1 2 3 T : Exlos otions in vy ition No inomtion out gol lotion tt Gol [mo: s mo mty] Huistis Any stimt o ow los stt is to gol Dsign o tiul s olm Exmls: Mnttn istn, Eulin istn 10 5 11.2 17

Huistis Bst Fist / Gy Exn t no tt sms losst Wt n go wong? [mo: gy] 18

Bst Fist / Gy A ommon s: Bst-ist tks you stigt to t (wong) gol Wost-s: lik lygui DF in t wost s Cn xlo vyting Cn gt stuk in loos i no yl king Lik DF in omltnss (init stts w/ yl king) 19