logo

Crowdly

Browser

Add to Chrome

An agent uses the theory ρ and database Δ below. Assume it can only derive what ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

An agent uses the theory ρ and database Δ below. Assume it can only derive what follows from ρ and Δ (negation as failure).

Theory ρ

(1) location(X,Y) ∧ dirty(X,Y) → do(clean)

(2) location(X,Y) ∧ odd(X) ∧ facing("S") → do(turn(left))

(3) location(X,Y) ∧ odd(X) ∧ facing(D) ∧ D ∈ {"W","N"} → do(turn(right))

(4) location(X,Y) ∧ odd(X) ∧ facing("E") ∧ ¬dirty(X,Y) ∧ ¬wall(front) → do(forward)

(5) odd(X) ← X mod 2 is 1

Database Δ

location(1,1). facing("S").

Which action can the agent prove it should perform?

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.royalholloway.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome