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.

It is to be noted that if- then operator of the knowledge has been represented in<br />

the figure by tr1 <strong>and</strong> the antecedent-consequent pairs of knowledge have been<br />

denoted by input (I) – output (0) places of tr1. Moreover, the arguments of the<br />

predicates have been represented by arc functions.<br />

22.5.2 Forward <strong>and</strong> Backward Firing<br />

For computing a token at a place, the transition associated with the place is<br />

required to be fired. Firing of a transition, however, calls for satisfaction of the<br />

following criteria.<br />

A transition tri is enabled,<br />

(1) if all the places excluding at most one empty place, associated with the<br />

transition tri , possess appropriately signed tokens, i.e., positive literals<br />

for input <strong>and</strong> negative literals for output places.<br />

(2) if the variables in the argument of the predicates, associated with the<br />

input <strong>and</strong> output places of the transition, assume consistent bindings.<br />

It means that a variable in more than one arc function, associated with a<br />

transition, should assume unique value, which may be a constant or renamed<br />

variable [7] <strong>and</strong> should not be contradictory. For instance, if variable X<br />

assumes a value ‘a’ in one arc function <strong>and</strong> ‘b’ in another arc function of the<br />

same transition, then they are inconsistent. The bindings of a variable X in an<br />

arc function are evaluated by setting its value to the same positioned term in<br />

the token, located in the connected place.<br />

When a transition is enabled, we can ‘fire’ the transition. After firing,<br />

tokens are generated as a result of resolution <strong>and</strong> are transferred to its<br />

input/output place. It is to be noted that the value of the token at these places<br />

is decided by the corresponding arc functions.<br />

In the case of forward firing, the empty place is on the output side,<br />

whereas in the case of backward firing, it must be at the input side of the<br />

transitions.<br />

Examples of forward <strong>and</strong> backward firing<br />

The concept of forward <strong>and</strong> backward firing in Petri nets is illustrated below<br />

with examples.

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

Saved successfully!

Ooh no, something went wrong!