.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH NAUTY-RANSUBG "1" "April 2024" "nauty 2.8.8" "Nauty Manual" .SH NAME nauty-ransubg \- extract random graph/digraphs of a file of graphs .SH SYNOPSIS .B ransubg [\fI\,-lq\/\fR] [\fI\,-P#|-P#/#\/\fR] [\fI\,-z\/\fR] [\fI\,-o\/\fR] [\fI\,-m#\/\fR] [\fI\,-S#\/\fR] [\fI\,infile \/\fR[\fI\,outfile\/\fR]] .SH DESCRIPTION .IP Extract random graph/digraphs of a file of graphs. .IP The output file has a header if and only if the input file does. The output format is defined by the header or first graph, .IP but is always digraph6 if \fB\-z\fR is used. .TP \fB\-z\fR Treat the input as a directed graph .TP \fB\-o\fR Treat the input as a directed graph and output an oriented graph .TP \fB\-P\fR# or \fB\-P\fR#/# Specify a probability p. \fB\-P\fR# is the same as \fB\-P1\fR/# .TP \fB\-m\fR# Make this many outputs for each input (default 1) .TP \fB\-l\fR Canonically label outputs. .TP \fB\-S\fR# Set seed for random numbers (default nondeterministic) .IP Usually each edge is kept with probability p. In the case of \fB\-o\fR, each edge in one direction only is kept .IP with probability p. For edges in both directions, with probability p keep one direction randomly chosen and with probability 1\-p delete both directions. Thus \fB\-oP1\fR will make a random orientation of an undirected graph. .TP \fB\-q\fR Suppress auxiliary information.