RANSUBG(1)

πŸ“¦
version 2.9.3 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

okay so ransubg β€” literally the manual page for ransubg 2.9.3, bestie. That's the name. Short, sweet, iconic. ✨

πŸŽ€ SYNOPSIS πŸŽ€

ransubg [-lq] [-P#|-P#/#] [-z] [-o] [-m#] [-S#] [infile [outfile]]

That's the whole shape of it. infile and outfile are optional, the flags are optional, it's giving chill.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it even do? It extracts random graph/digraphs of a file of graphs. That's it. That's the mission. πŸ’…

The output file has a header if and only if the input file does. No extra headers, no surprise headers, we do not do that here.

The output format is defined by the header or first graph β€” but ngl, it is always digraph6 if -z is used. Periodt. πŸ”₯


  • -z β€” Treat the input as a directed graph. πŸ“ˆ
  • -o β€” Treat the input as a directed graph and output an oriented graph. Two jobs, one flag, main character energy. πŸ‘‘
  • -P# or -P#/# β€” Specify a probability p. And heads up bestie: -P# is the same as -P1/#. Same thing, different font. πŸŽ€
  • -m# β€” Make this many outputs for each input. Default is 1, so if you say nothing you get one per one. πŸ“
  • -l β€” Canonically label outputs. Slay. ✨
  • -S# β€” Set seed for random numbers. Default is nondeterministic, so... good luck guessing. πŸ’€

and now, the probability lore: Usually each edge is kept with probability p. In the case of -o, each edge in one direction only is kept 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 -oP1 will make a random orientation of an undirected graph. 🧚

  • -q β€” Suppress auxiliary information. Silence. Peace. Just vibes. πŸ’œ

and that's a wrap bestie 🫢 this is ransubg 2.9.3, from September 2026, and yeah, RANSUBG(1) β€” that's the footer, we said it, we're done here, go extract some random graphs, iykyk πŸŒˆπŸ’…

πŸ“¦ where this page comes from
  • fedora 43: nauty 2.9.3-3.fc43 Β· Apache-2.0 AND LicenseRef-Fedora-Public-Domain AND Knuth-CTAN AND GPL-1.0-or-later
  • fedora 44: nauty 2.9.3-4.fc44 Β· Apache-2.0 AND LicenseRef-Fedora-Public-Domain AND Knuth-CTAN AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms