AI-problem Spaces and Search
AI-problem Spaces and Search
To solve the problem of building a system you should take the following steps:
1. Define the problem accurately including detailed specifications and what constitutes
a suitable solution.
2. Scrutinize the problem carefully, for some features may have a central affect on the
chosen method of solution.
3. Segregate and represent the background knowledge needed in the solution of the
problem.
4. Choose the best solving techniques for the problem to solve a solution.
Problem solving has been the key area of concern for Artificial Intelligence.
General Problem Solver (GPS) was a computer program created in 1957 by Simon and
Newell to build a universal problem solver machine. GPS was based on Simon and Newell's
theoretical work on logic machines. GPS in principle can solve any formalized symbolic
problem, such as theorems proof and geometric problems and chess playing. GPS solved
many simple problems, such as the Towers of Hanoi, that could be sufficiently formalized,
but GPS could not solve any real-world problems.
a. Define a state space that contains all the possible configurations of the relevant
objects, including some impossible ones.
b. Specify one or more states that describe possible situations, from which the problem-
solving process may start. These states are called initial states.
c. Specify one or more states that would be acceptable solution to the problem. These
states are called goal states.
Specify a set of rules that describe the actions (operators) available.
The problem can then be solved by using the rules, in combination with an appropriate
control strategy, to move through the problem space until a path from an initial state to a
goal state is found. This process is known as ‘search'. Thus:
A problem space is represented by a directed graph, where nodes represent search state and
paths
represent the operators applied to change the state.
A tree is a graph in which any two vertices are connected by exactly one path. Alternatively,
any connected graph with no cycles is a tree.
20
" Problem solving: The term, Problem Solving relates to analysis in AI. Problem solving may
be characterized as a systematic search through a range of possible actions to reach some
predefined goal or solution. Problem-solving methods are categorized as special purpose and
general purpose.
" A special-purpose method is tailor-made for a particular problem, often exploits very
specific features of the situation in which the problem is embedded.
20