03.06.2013 Views

Lenguajes formales - Facultad de Informática - Universidad ...

Lenguajes formales - Facultad de Informática - Universidad ...

Lenguajes formales - Facultad de Informática - Universidad ...

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.

Procesadores <strong>de</strong> Lenguaje<br />

Ingeniería en <strong>Informática</strong><br />

Autómatas finitos (AFs)<br />

Los autómatas finitos se <strong>de</strong>finen con una tupla<br />

siendo:<br />

E el conjunto finito y no vacío <strong>de</strong> estados posibles<br />

e o ∈ E, el estado inicial <strong>de</strong>l autómata<br />

A el alfabeto <strong>de</strong> entrada que acepta el autómata<br />

t, la función <strong>de</strong> transición <strong>de</strong> estados<br />

F ⊆ E, el conjunto <strong>de</strong> estados finales<br />

Hay dos tipos <strong>de</strong> autómatas finitos<br />

Autómatas finitos <strong>de</strong>terministas (AFDs)<br />

t ∈ E × A → E<br />

(Con cada símbolo <strong>de</strong> entrada se pasa <strong>de</strong> un estado <strong>de</strong>l autómata a otro)<br />

Autómatas finitos no <strong>de</strong>terministas (AFNDs)<br />

t ∈ E × (A ∪ {λ}) → ℘(E)<br />

(Con algún símbolo <strong>de</strong> entrada, o con la ca<strong>de</strong>na vacía, se pasa <strong>de</strong> uno <strong>de</strong> los<br />

estados <strong>de</strong>l autómata a otro conjunto no vacío <strong>de</strong> estados - ℘ significa partición -)<br />

R.9

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

Saved successfully!

Ooh no, something went wrong!