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.

matches (a) <strong>and</strong> (b). Similarly, we labeled other junctions. Now, in many<br />

junctions we have more than one possible label. We can overcome it by<br />

considering the ‘constraints of neighboring junctions’ [8], so that the type of<br />

each junction is unique for a realistic object. Careful observation yields that<br />

since A <strong>and</strong> B are neighboring junctions, trying to connect (a) with (c) <strong>and</strong> (b)<br />

with (c) shows that (a)-(c) connection is feasible. The constraints of<br />

neighborhood junctions are applied to each label to reduce it to a single type<br />

per junction. The result of the type reduction is presented below.<br />

Table 19.2: Junction type reduction.<br />

Junctions possible name of label<br />

A (a)<br />

C (d)<br />

E (g)<br />

G (k)<br />

The algorithm for junction labeling, also called the waltz algorithm [9], is<br />

presented below.<br />

Procedure junction-labeling (edges, labels)<br />

Begin<br />

1. Label boundary by clockwise encirclement;<br />

2. Label interior edges by ‘+’ or ‘-’ as convenient;<br />

3. Label junction types from the possible match with fig. 19.13. You may<br />

allow rotation of types <strong>and</strong> the types need not be uniqu;<br />

4. Reduce the types of each junction to a single one by considering the<br />

types of the neighboring junctions;<br />

5. Repeat step 4 until each junction of the object has a single type.<br />

End.<br />

19.7 Conclusions<br />

The chapter introduced three basic types of CSP dealing with algebraic,<br />

logical <strong>and</strong> geometric constraints. The concept of constraint simplification <strong>and</strong><br />

equivalence is discussed <strong>and</strong> constraint propagation in networks has been<br />

illustrated. The principles of constraint logic programming are also presented<br />

with examples. An algorithm for constraint satisfiability testing is discussed.<br />

The concepts of recognizing trihedral objects from their junction labeling<br />

have also been covered briefly.

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

Saved successfully!

Ooh no, something went wrong!