1. Consider the partial BDI agent algorithm below for executing the plan pi.
Which of the following statements are true?
1 w h i l e not empty ( p i )
2 or su c c e ed ed ( I , B)
3 or i m p o s s i b l e ( I , B) do
4 a := head ( p i ) ;
5 e x e c ut e ( a ) ;
6 p i := t a i l ( p i ) ;
7 g et n e xt p er c e pt p ;
8 B := b r f (B, p ) ;
9 i f r e c o n s i d e r ( I , B) th en
10 D := o pt i o n s (B, I )
11 I := f i l t e r (B, D, I )
12 end−i f
13 i f not sound ( pi , I , B) th en
14 p i := p l a n (B, I )
15 end−i f
16 end−w h i l e
A. If we removed lines 9 and 12, the agent would not be reactive to changes
in its environment.
B. If we removed lines 9 and 12, the agent could repeatedly reconsider its
intentions and be at risk of never actually achieving them.
C. Without lines 10 and 11, the agent could continue to pursue intentions
it no longer had a reason to desire.
D. Without lines 10 and 11, the agent may not be aware that its plan is
unachievable in the current environment.
E. Without lines 10 and 11, the agent would not replan should its plan ever
become unsound to commit to under the current environment.
2. A utility function over runs of an agent embedded in an environment is
defined by the function ur : RE ! R. A utility function over environment
states is defined by the function ue : E ! R. Recall that E is the set of all
possible environment states; Ac is the set of all possible actions; RE is the
set of all possible runs over E and Ac that end with an environment state;
R is the set of real numbers. Which of the following are true?
A. Every utility function defined over runs can be expressed by a utility
function defined over states.
B. Every utility function defined over states can be expressed by a utility
function defined over runs.
C. The utility of a run is always the sum of utilities of the states within
D. The expected utility of a run in a system is the product of the probability
that the run occurs and the utility of that run.
E. If the environment and the agent’s decision making are deterministic,
then the expected utility of a particular agent is equal to the utility of
one run of the system.
本网站支持淘宝 支付宝 微信支付 paypal等等交易。如果不放心可以用淘宝交易！
E-mail: email@example.com 微信:itcsdx