1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
.\" Text automatically generated by txt2man
.TH gbase 1 "23 November 2019" "" "Scotch user's manual"
.SH NAME
\fBgbase \fP- sets the base value of a source graph
\fB
.SH SYNOPSIS
.nf
.fam C
\fBgbase\fP [\fIoptions\fP] \fIbval\fP [\fIigfile\fP] [\fIogfile\fP]
.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
The \fBgbase\fP program allows one to set to \fIbval\fP the base value of a
source graph, that is, the starting index used to number its
vertices and edges. The base value can be set to 0 or 1, so that
graphs can be easily imported from and/or exported to tools written
in C or Fortran. Scotch can handle graphs irrespective of their base
value.
.PP
When the proper libraries have been included at compile time, \fBgbase\fP
can directly handle compressed graphs, both as input and output. A
stream is treated as compressed whenever its name is postfixed with
a compressed file extension, such as in 'brol.grf.bz2' or '-.gz'. The
compression formats which can be supported are the bzip2 format
('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma').
.SH OPTIONS
.TP
.B
\fB-h\fP
Display some help.
.TP
.B
\fB-V\fP
Display program version and copyright.
.SH EXAMPLE
Set the base of graph 'brol.grf' to 1, and write the modified graph
to file 'brol_b1.grf'.
.PP
.nf
.fam C
$ gbase 1 brol.grf brol_b1.grf
.fam T
.fi
.SH SEE ALSO
\fBgcv\fP(1), \fBgmk_hy\fP(1), \fBgmk_msh\fP(1), \fBgtst\fP(1), \fBgmap\fP(1), \fBgord\fP(1).
.PP
Scotch user's manual.
.SH AUTHOR
Francois Pellegrini <francois.pellegrini@labri.fr>
|