// la-deterministe.c // << Algorithmique du texte >> // Maxime Crochemore, Christophe Hancart et Thierry Lecroq // Vuibert, 2001. #include <stdio.h> #include "chl.h" #include "automate.h" void laDeterministe(Automate M, Mot y) { Etat r; int j; r = initial(M); for (j = 0; *y != '\0'; ++j, ++y) { r = cible(r, *y); signalerSi(terminal(r)); } }