AI Test1 Notes
AI Test1 Notes
3. Rational Agent
A rational agent is one that strives to make the best decisions possible
given its perceptions of the environment and its goals. In essence, a
rational agent behaves optimally, aiming to achieve its objectives
efficiently.
4. Environment Complexity:
PEAS
PEAS: Performance measure, Environment, Actuators,
Sensors
Environment types
Fully observable (vs. partially observable)
Table-driven agent
Goal-based agents
Utility-based agents
actionß rule.ACTION
return action
Problem‐solving agents
Together, the initial state, actions, and transition model implicitly define
the state space of the problem—the set of all states reachable from the
initial state by any sequence of actions.
The state space forms a directed network or graph in which the nodes are
states and the links between nodes are actions.
5. The goal test, which determines whether a given state is a goal state.
vSometimes there is an explicit set of possible goal states, and the test
simply checks whether the given state is one of them.
d, the depth of the shallowest goal node (i.e., the number of steps along
the path from the root).
• All they can do is generate successors and distinguish a goal state from
a non-goal state.
• All search strategies are distinguished by the order in which nodes are
expanded.
Breadth-first search
The search proceeds immediately to the deepest level of the search tree,
where the nodes have no successors.
As those nodes are expanded, they are dropped from the frontier, so then
the search “backs up” to the next deepest node that still has unexplored
successors.
Depth-limited search
Its time complexity is O(b^l) and its space complexity is O(bl) Depth-first
search can be viewed as a special case of depth-limited search with =∞.