25 int test_get_max_etat(){
52 if( ! test_get_max_etat() ){
return 1; };
void liberer_automate(Automate *automate)
Détruit un automate.
void ajouter_transition(Automate *automate, int origine, char lettre, int fin)
Ajoute une transition à l'automate passé en paramètre.
Automate * creer_automate()
Crée un automate vide, sans états, sans lettres et sans transitions.
int get_max_etat(const Automate *automate)
void ajouter_etat_final(Automate *automate, int etat_final)
Ajoute un état final à un automate passé en paramètre.
void ajouter_etat_initial(Automate *automate, int etat_initial)
Ajoute un état initial à un automate passé en paramètre.