Mean Ends Analysis Algorithm - Copy
Mean Ends Analysis Algorithm - Copy
• We have studied the strategies which can reason either in forward or backward,
but a mixture of the two directions is appropriate for solving a complex and large
problem. Such a mixed strategy, make it possible that first to solve the major part
of a problem and then go back and solve the small problems arise during
combining the big parts of the problem. Such a technique is called Means-Ends
Analysis.
• Means-Ends Analysis is problem-solving techniques used in Artificial intelligence
for limiting search in AI programs.
• It is a mixture of Backward and forward search technique.
• The MEA technique was first introduced in 1961 by Allen Newell, and Herbert A.
Simon in their problem-solving computer program, which was named as General
Problem Solver (GPS).
• The MEA analysis process centered on the evaluation of the difference between
the current state and goal state.
How means-ends analysis Works:
The means-ends analysis process can be applied recursively for a problem. It is a strategy
to control search in problem-solving. Following are the main Steps which describes the working of
MEA technique for solving a problem.
1. First, evaluate the difference between Initial State and final State.
2. Select the various operators which can be applied for each difference.
3. Apply the operator at each difference, which reduces the difference between the current state
and goal state.
Operator Subgoaling
3. Applying Move Operator: After applying the Delete operator, the new state occurs which
we will again compare with goal state. After comparing these states, there is another difference
that is the square is outside the circle, so, we will apply the Move Operator.
4. Applying Expand Operator: Now a new state is generated in the third step,
and we will compare this state with the goal state. After comparing the states there
is still one difference which is the size of the square, so, we will apply Expand
operator, and finally, it will generate the goal state.