/* gpmigenmult2.c 30/10/95. * 8/10/98 large-scale re-organisation. * 16/3/96 - changed command-line syntax to * gpmigenmult2 [options] groupname [cosname] * where cosname defaults to "cos". * Calculates the general multiplier with multiple initial states of a * short-lex coset automatic group, for words in the generators of length 2. * This program assumes that kbprogcos with -wd option and gpmimakefsa * have already been run of G. * * SYNOPSIS: * gpmigenmult2 [-ip d/s[dr]] [-op d/s] [-silent] [-v] [-l/-h] * [-pref prefix] groupname [cosname] * * Input is from groupname.cosname.migm * Output is to groupname.cosname.gm2. * * OPTIONS: * -ip d/s[dr] input in dense or sparse format - dense is default * -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) * -pref prefix Use the string 'prefix' as prefix for subgroup generators * Default is "_x". You MUST use the same prefix in all * runs of gpmigenmult2, gpmimakemult and gpmimakemult2. *
*/
if (kbm_print_level > 1)
printf(" #Number of states of migenmult2 = %d.\n", migm2ptr->states->size);
if (readback) { if (midfa_labeled_minimize(migm2ptr) == -1) exit(1);
} if (kbm_print_level > 1)
printf(" #Number of states of migenmult2 after minimization = %d.\n",
migm2ptr->states->size);
base_prefix(fsaname);
strcat(fsaname, ".gm2");
wfile = fopen(outf, "w");
fsa_print(wfile, migm2ptr, fsaname);
fclose(wfile);
if (kbm_print_level > 0)
printf("#Generalised length-2 multiplier with %d states computed.\n",
migm2ptr->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.