09.09.2013 Views

STATE MACHINES IN ARTIFICIAL INTELLIGENCE

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

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

The circuits are graphs with sliding connections having circles. The concept is the<br />

same, we can define paths, and circuits to have the maintenance of the structure of<br />

the graph after deleting of vertices and edges.<br />

2.6 Inverse transcription<br />

The inverse trascription is the process to extract a string from a graph. If the graph<br />

has a regular structure the inverse transcription can be a composed function. How<br />

to define an inverse transcription is a problem of graph programming. Now we are<br />

going to explain the concept. Suppose we have the graph:<br />

We want that the output of the inverse transcription is:<br />

– The Set Colours has the elements : red , green , blue<br />

we can easily define a function for the inverse transcription like this:<br />

1. Graph ITSubgraphs = FindSubgraph ( MainGraph, TranscriptionOfSet )<br />

2. If ( ITSubgraphs == null ) Return<br />

3. For Each ITSubgraph SET { InverseTranscriptionOfSet ( SET );<br />

FUNCTION InverseTranscriptionOfSet ( Graph SET )<br />

4. Cursor C = SET.FindVertex ( “Set” );<br />

30

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

Saved successfully!

Ooh no, something went wrong!