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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Else Flag:= true;<br />

End;<br />

Until no-of firing = no-of-transition;<br />

Par End;<br />

End.<br />

The above algorithm has been applied to the Petri net of fig. 22.17 <strong>and</strong> its<br />

trace is presented in table 22.1.<br />

Table 22.1: Trace of the algorithm on example net of fig. 22.17<br />

Time slot Tran<br />

.<br />

First tr1<br />

cycle tr2<br />

Second tr1<br />

cycle tr2<br />

Third<br />

cycle<br />

tr1<br />

tr2<br />

Set of c-b Set of u-b Flag=0, if c-b⊄ u-b<br />

=1, if c-b= u-i≠{φ}<br />

{r/x,d/y,a/z} {{φ}}<br />

0<br />

{n/x,a/y} {{φ}}<br />

0<br />

{r/x,n/y,a/z} {{r/x,d/y,a/z}} 0<br />

{d/x,a/y} {{n/x, a/y}} 0<br />

{r/x,d/y,a/z}/ {{r/x,d/y,a/z}, 1<br />

{r/x,n/y,a/z} {r/x,n/y,a/z}}<br />

{n/x,a/y}/ {{n/x, a/y}, 1<br />

{d/x,a/y} {d/x, a/y}}<br />

22.5.5 The Modular Architecture of the Overall System<br />

It is evident from the discussion in section 22.5.3 that most of the possible<br />

forms of parallelism of logic programs can be represented by Petri nets.<br />

Section 22.5.4 described a scheme for concurrent resolution of multiple<br />

clauses in a logic program. This section includes a mapping from Petri nets to<br />

logic circuits for efficient realization of the algorithm presented in the last<br />

section on a high speed inference engine.<br />

Before executing the program, a compiler, specially constructed for this<br />

purpose, is employed to parse the given program for syntax analysis. On<br />

successful parsing, the variables used in the programs are mapped onto a<br />

specialized hardwired unit, called Transition History File (THF) register.<br />

The compiler also assigns the value of the variables, hereafter called tokens, at<br />

specialized hardwired units, called Place Token Variable Value Mapper<br />

(PTVVM). The sign of the arc function variables is also assigned to the<br />

PTVVM by the compiler.

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

Saved successfully!

Ooh no, something went wrong!