
Midterm Exam Solutions.
Artificial Intelligence (Spring 2007)
Question 1
Define in your own words the following terms:
a) State
A state is a representation that an agent can find itself in. There are two types of states:
world states (the actual concrete situations in the real world) and representational states (the
abstract descriptions of the real world that are used by the agent in deliberating about what to
do).
b) State space
A state space is a graph whose nodes are the set of all states, and whose links are
actions that take the agent from one state into another.
c) Search tree
A search tree is a tree (a connected graph with no undirected loops) in which the root node is
the
start state and the set of children for each node consists of the states reachable by taking any
action.
d) Search node
A search node is a node in the search tree.
e) Goal
A goal is a state that the agent is trying to reach.
f) Action
An action is something that the agent can choose to do.
g) Successor function
A successor function described the agent’s options: given a state, it returns a set of
(action, state) pairs, where each state is the state reachable by taking the action.
h) Branching factor
The branching factor in a search tree is the number of actions available to the agent.