예제 #1
0
파일: penny.c 프로젝트: uw-loci/ome-server
void describe()
{
    /* prints ancestors, steps and table of numbers of steps in
       each character */

    if (stepbox) {
        putc('\n', outfile);
        writesteps(weights, numsteps);
    }
    if (questions && (!noroot || didreroot))
        guesstates(guess);
    if (ancseq) {
        hypstates(fullset, full, noroot, didreroot, root, wagner,
                  zeroanc, oneanc, treenode, guess, garbage);
        putc('\n', outfile);
    }
    if (trout) {
        col = 0;
        treeout2(root, &col, root);
    }
}  /* describe */
예제 #2
0
void describe()
{
  /* prints ancestors, steps and table of numbers of steps in
     each character */

  if (treeprint)
    fprintf(outfile, "\nrequires a total of %10.3f\n", -like);
  if (stepbox) {
    putc('\n', outfile);
    writesteps(weights, dollo, numsteps);
  }
  if (questions)
    guesstates(guess);
  if (ancseq) {
    hypstates(fullset, dollo, guess, treenode, root, garbage, zeroanc, oneanc);
    putc('\n', outfile);
  }
  putc('\n', outfile);
  if (trout) {
    col = 0;
    treeout(root, nextree, &col, root);
  }
}  /* describe */