Part A: Unit Ii Representation of Knowledge
Part A: Unit Ii Representation of Knowledge
PART A
The sum of the horizontal and vertical distances of the tiles from their goal positions in a 15
puzzle problem is called Manhattan distance (or) city block distance.
24. Write the time & space complexity associated with depth limited search.
Time complexity =O (bd) ,
b-branching factor,
d-depth of tree
Space complexity=o (bl)
Plateaux: A plateaux is an area of the state space where the evaluation fn is essentially flat. The
search will conduct a random walk.
maxima. In this algorithm each iteration is a dfs just as in regular iterative deepening. The depth
first search is modified to use an f-cost limit rather than a depth limit. Thus each iteration
expands all nodes inside the contour for the current f-cost.
45. What are the things that agent knows in online search problems?
a. Actions(s)
b. Step cost function C(s, a, s’)
c. Goal TEST(s)
PART - B
Typically, a problem to solve or a task to carry out, as well as what constitutes a solution,
is only given informally, such as "deliver parcels promptly when they arrive" or "fix whatever is
wrong with the electrical system of the house.
To solve a problem, the designer of a system must flesh out the task and determine what
constitutes a solution; represent the problem in a language with which a computer can reason;
use the computer to compute an output, which is an answer presented to a user or a sequence of
actions to be carried out in the environment; and interpret the output as a solution to the problem.
Knowledge is the information about a domain that can be used to solve problems in that
domain. To solve many problems requires much knowledge, and this knowledge must be
represented in the computer. As part of designing a program to solve problems, we must define
how the knowledge will be represented. A representation scheme is the form of the knowledge
that is used in an agent. A representation of some piece of knowledge is the internal
representation of the knowledge. A representation scheme specifies the form of the knowledge.
A knowledge base is the representation of all of the knowledge that is stored by an agent.
3. Illustrate in detail about forward and backward chaining with suitable example.
Forward Chaining: The Forward chaining system, properties , algorithms, and conflict resolution
strategy are illustrated.
Base
‡ facts are held in a working memory
‡ condition-action rules represent actions to be taken when specified facts occur in working
memory.
‡ typically, actions involve adding or deleting facts from the working memory.
■ Properties of Forward Chaining
‡ all rules which can fire do fire.
‡ can be inefficient - lead to spurious rules firing, unfocused problem
solving
‡ set of rules that can fire known as conflict set.
‡ decision about which rule to fire is conflict resolution.