/** * @file afd.h * @author Michel Meynard * @brief Définition d'un AFD */ #define EINIT 0 #define EA 1 #define EAB 2 #define EABC 3 #define EB 4 #define EBD 5 #define NBETAT 6 int TRANS[NBETAT][256]; /* table de transition : état suivant */ int JETON[NBETAT]; /* jeton à retourner */ int creerAfd(){ /* Construction de l'AFD */ int i;int j; /* variables locales */ for (i=0;i