Question: Exercise 2 ( 6 0 points ) . Consider the following world and agent: - We have discrete locations ( 1 , 2 ,
Exercise points Consider the following world and agent:
We have discrete locations ldots and times ldots
The agent can only be in one location at any given time.
The agent can only take one of two actions at any time: either move always to the next location, ie from i to i or grab but grabbing can only be done once during the game Executing the grab action results in the agent catching the gold only if it is at a location that contains gold.
At the start of the game, the agent is at location and there is gold in exactly one location.
If at some time t the agent is at a location containing the gold, it perceives it as a symbol gold t Otherwise, it does not perceive it:
eg gold t
The goal is for the agent to catch the gold.
Design a propositional logic system that could be used to model this:
points Create the relevant symbols and explain their meaning.
points List relevant axioms and explain their meaning.
points List relevant sentences that encode the start of the game.
points Formulate an assertion alpha to indicate success which we would use, together with the knowledge base KB composed of your axioms and sentences above, to formulate a plan, by calling AskKBalpha
Apply to the particular case where the gold is at location Running SATplan on your KB with a suitable goal would produce a plan sequence of actions that achieves the goal, if such a plan exists and assuming you correctly formulated your KB but this would involve many symbols and sentences and it would be too complicated. Instead, just play out two scenarios where the agent acts in two ways:
points Give, for times to the truth values of all symbols including the percepts for a successful agent behavior the agent takes a sequence of actions that lead to getting the gold You must obtain the values by applying your axioms to your initial state formulation not by guessing what the values should be Tabulate them like this where and stand for false and true, respectively:
points Repeat but for an unsuccessful agent behavior the agent takes a sequence of actions that lead to not getting the gold
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
