#define HELPTEXT \ " Copy a file of graphs with possible format conversion.\n\
\n\
-g Use graph6 format for output\n\
-s Use sparse6 format for output\n\
-z Use digraph6 format for output\n\
-i Use incremental sparse6 format for output\n\
In the absence of -g, -s, -z or -i, the format\n\
depends on the header or, if none, the first input line.\n\
As an exception, digraphs are always written in digraph6.\n\
\n\
-p# -p#:# \n\
Specify range of input lines (first is 1)\n\ This can fail if the input has incremental lines.\n\
-f With -p, assume input lines of fixed length\n\
(ignored if header or first line has sparse6 format).\n\
-I# Have at most this number of incremental steps\n\
in a row. Implies -i. \n\
\n\
-h Write a header.\n\
-x Don't write a header.\n\
In the absence of -h and -x, a header is written if\n\
there is one in the input.\n\
\n\
-q Suppress auxiliary output.\n"
#ifdef FILTER #define HELPTEXT1 HELPTEXT #define HELPTEXT2 \ "\n\
-Q# -Q#:# a number or range to pass to the filter.\n\
\n\
Only inputs satisfying the filter, ornot satisfying the\n\
filter if -v is given, are passed through.\n" #endif
#ifdef FILTER extern boolean
FILTER(graph *g, boolean digraph, long Qlo, long Qhi, int m, int n); #ifdef SUMMARY externvoid SUMMARY(void); #endif #endif
nauty_counter nin;
int
main(int argc, char *argv[])
{
graph *g,*gprev,*gbase; int m,n,codetype; char *infilename,*outfilename;
FILE *infile,*outfile; int outcode;
nauty_counter nout; int argnum,j,nprev,mprev; char *arg,sw;
boolean sswitch,fswitch,pswitch,qswitch,gswitch;
boolean hswitch,xswitch,iswitch,Iswitch,zswitch;
boolean badargs,digraph,vswitch,Qswitch,kept; long Qlo,Qhi; long pval1,pval2,maxin,refresh,inclines; double t0,t1;
if (Iswitch) iswitch = TRUE; if ((sswitch!=0) + (gswitch!=0) + (iswitch!=0) + (zswitch!=0) > 1)
gt_abort(">E copyg: -s, -g, -z and -i/-I are incompatible\n"); if (hswitch && xswitch)
gt_abort(">E copyg: -h and -x are incompatible\n");
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 und die Messung sind noch experimentell.