06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A<br />

B<br />

AND<br />

C D<br />

E AND Y<br />

Fig. 1.12: A Petri-like net representing non-determinism in a reasoning system<br />

with initial states A <strong>and</strong> B <strong>and</strong> goal state Z.<br />

Principle for testing determinism: After deriving the goal state<br />

from the initial states, continue marking (backtracking) the parents of each<br />

node starting from the goal node, until the initial states are reached. If<br />

unmarked nodes are detected, then the system is non-deterministic; otherwise<br />

it is deterministic. It may be noted that testing of determinism in a<br />

knowledge-based system, for any set of starting <strong>and</strong> goal states, is a distinct<br />

problem <strong>and</strong> no conclusion about determinism can be drawn for modified<br />

initial or goal states.<br />

The principle for testing determinism in the proposed knowledge-based<br />

system is illustrated here with reference to the dependence graph (Petri-like<br />

net) of fig.1.12. It may be noted that while backtracking on the graph, node<br />

D is not marked <strong>and</strong> thus the system is non-deterministic.<br />

Besides reasoning, non-determinism plays a significant role in many<br />

classical AI problems. The scope of non-determinism in heuristic search has<br />

already been mentioned. In this section, we demonstrate its scope in<br />

recognition problems through the following example.<br />

Example 1.3: This example illustrates the differences of deterministic <strong>and</strong><br />

non-deterministic transition graphs [9], called automata. Let us first consider<br />

the problem of recognition of a word, say, “robot”. The transition graph (fig.<br />

1.13(a)) for the current problem is deterministic, since the arcs emerging out<br />

from a given state are always distinct. However, there exist problems, where<br />

the arcs coming out from a state are not always distinct. For instance,<br />

consider the problem of recognizing the words “robot” <strong>and</strong> “root”. Here, since<br />

more than one outgoing arc from state B (fig. 1.13(b)) contains the same label<br />

(o), they are not distinct <strong>and</strong> the transition graph is non-deterministic.<br />

Z

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!