/* gpdifflabs.c 18/1/98 * Input a two-variable fsa reading pairs of words of an automatic group, * and output an fsa which accepts the same language but with states labeled * by the associated word-differences. * * SYNOPSIS: * gpdifflabs [-diff1] [-op d/s] [-silent] [-v] [-l/-h] [-f] groupname fsaname * * Input is from groupname.fsaname and groupname.diff2 * (and possibly from groupname.diff1 or groupname.diff1c) * called). * Output is to groupname.fsaname.difflabs * * OPTIONS: * -op d/s output in dense or sparse format - sparse is default * -v verbose * -silent no diagnostics * -l/-h large/huge hash-tables (for big examples) * -diff1/-diff2/-diff1c * input from groupname.diff1, diff2 or diff1c for word-reduction. * groupname.diff2 is default. * -f read the transition table repeatedly from file while mimimizing. * this avoids storing the large table, but is a little slower. *
*/
if (kbm_print_level > 1)
printf(" #Number of states of labeled machine before minimisation = %d.\n",
difflabsptr->states->size); if (readback) { if (fsa_labeled_minimize(difflabsptr) == -1) exit(1);
} elseif (fsa_ip_labeled_minimize(difflabsptr) == -1) exit(1); if (kbm_print_level > 1)
printf(" #Number of states of labeled machine after minimisation = %d.\n",
difflabsptr->states->size);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.