• Keine Ergebnisse gefunden

Foundations of Artificial Intelligence

N/A
N/A
Protected

Academic year: 2022

Aktie "Foundations of Artificial Intelligence"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Foundations of Artificial Intelligence

M. Helmert S. Eriksson Spring Term 2021

University of Basel Computer Science

Exercise Sheet 7

Due: April 21, 2021 Exercise 7.1(2+1 marks)

(a) Formalize the propositional formulaϕ= (x∨ ¬y)∧(¬x∨ ¬z)∧(¬x∨z)∧(y∨z) as a binary constraint network.

(b) Enumerate all solutions to your constraint network from (a).

Exercise 7.2(2 marks)

Consider the constraint networkC=hV,dom,(Ruv)iwith

• V ={a, b, c}

• dom(x) ={0,1,2,3}for allx∈V

• Ra,b={h0,0i,h1,1i,h2,2i,h3,3i}

Ra,c={h0,3i,h1,2i,h2,1i,h3,0i}

Rb,c={h0,1i,h0,2i,h0,3i,h1,2i,h1,3i,h2,3i}

Define the tightest networkC0 that is equivalent toC. in other words find the uniqueC0 such that C0≡ C and there is noC00 withC00@C0 andC00≡ C0. Justify your solution.

Exercise 7.3(2+1 marks)

Consider the constraint network for the graph coloring problem that has been introduced on slide 10 of chapter 24 in the print version of the lecture slides:

b, g, r v1

b, g v2

b, r

v3 b, r

v4

b, g v5

g, r, y v6 b, r

v7

(a) Provide the search tree that is created by applying naive backtracking on the depicted prob- lem. Choose variables in an ascending order (v1< v2<· · ·< v7) and values alphabetically.

Depict the search tree in a similar style as in the lecture slides.

(b) Was the chosen variable order good? Base your answer on a comparison of the size of your search tree to the one from the lecture (chapter 24, slide 9 handout version).

(2)

Exercise 7.4(1+1 marks)

Consider the following (inconsistent) constraint networkC:

1,2

v1 1,2

v2

2,3,4 v3

1,2,3 v4

<

≥ 6=

=

(a) Provide the search tree when applying backtrackingwith forward checking using the mini- mum remaining values variable ordering, breaking ties by most constraining variable. An- notate each node in the search tree with the new domain for all variables whose domain changed.

Hint: We do not specify a value ordering here since C is inconsistent. You may choose any value ordering.

(b) Apply the AC-3 algorithm that has been presented on slide 21 of chapter 25 in the print version of the lecture slides on C. Select the variables u and v in each iteration of the while loop such that the domain of uchanges in the call to revise(C, u, v). Provide u, v, and dom(u) in each iteration. Note that you do not have to provide the elements that are inserted into the queue, and you may stop the algorithm as soon as the domain of some variable is empty (which shows that the network is inconsistent).

Submission rules:

Upload a single PDF file (ending .pdf). If you want to submit handwritten parts, include their scans in the single PDF. Put the names of all group members on top of the first page. Use page numbers or put your names on each page. Make sure your PDF has size A4 (fits the page size if printed on A4).

Referenzen

ÄHNLICHE DOKUMENTE

61 The proposal was rejected by most of ASEAN member states for three main reasons. First, the multilateral defense cooperation would send a wrong signal to major powers. It

63 Such educational measures to train the armed forces in civilian skills accelerated the military’s involvement in economic activities that required not only conversion

If TONER LOW on the SYS DEFAULT MENU / ENABLE WARNING is set to ON , the message TONER LOW X (where “ X ”. represents the color of the toner) appears when toner cartridge

We give an example of a pure group that does not have the independence property, whose Fitting subgroup is neither nilpotent nor definable and whose soluble radical is neither

We mostly talk about necessary circumstances at a time when the cause is already completed and it is certain that the effect thas occurred or will occur.. Then every

To match the market stochasticity we introduce the new market-based price probability measure entirely determined by probabilities of random market time-series of the

En búsqueda del perfeccionamiento del sistema GES para los privados, es posible considerar un estudio realizado por la Superintendencia de Salud con un censo en relación a

Then files may be copied one at a time (or with a wild card transfer) to the dual density diskette.. Using the Filer under the UCSD O/S, do an E)xtended listing of the files on