/* ** The parameters of EnumerateWords() have the following meaning: ** ** <r> a relation involving <l> identical generators. ** <l> the number of identical generators. ** <instances> the list of instances to be built up corresponding the ** identical generators. ** <n> the index of the current word in <instances> ** <i> the first free index in the current word ** <g> the next generator in the current word ** <wt> the weight that can spend on the next generators.
*/ static void EnumerateWords(node *r, long l, word *instances, long n, long i, gen g, long wt) { long save_wt;
word u = instances[ n ];
if (wt == 0) {
gen h; /* printf( "# %d %d ", l, n ); for( h = 1; h <= NrIdenticalGensNode; h++ ) { printWord( Instances[ h ], 'a' ); printf( ", " ); } printf( "\n" );
*/ if (EvalSingleRelation(r)) {
printf("# essential: "); for (h = 1; h <= NrIdenticalGensNode; h++) {
printWord(Instances[ h ], 'a');
printf(", ");
}
printf("\n");
} return;
}
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.