HAMHEURISTIC(1)

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

πŸ’– HAMHEURISTIC πŸ’–

okay bestie, gather round, because this is the manual page for hamheuristic version 2.9.3 and it's literally the little tool that tries to sniff out hamiltonian cycles for you πŸ¦‹


✨ NAME ✨

hamheuristic β€” the manual page for hamheuristic 2.9.3, no cap πŸ’…


🌸 SYNOPSIS 🌸

hamheuristic [-sgu] [-vq] [-V] [-L#] [-t#] [infile [outfile]]

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the vibe: you point it at some graphs, and it applies a heuristic for finding hamiltonian cycles. It's giving "I'll do my best, no promises" energy 🧚

By default it outputs the ones it couldn't solve β€” yes, the unsuccessful ones, the flops, the "it's not you it's me" graphs. Periodt. πŸ’€

  • -s β€” force the output to be in sparse6 format ✨
  • -g β€” force the output to be in graph6 format. And heads up: if you don't hand it -s or -g, the output format gets decided by the header β€” or, if there's no header at all, by the format of the first input graph. iykyk 🌈
  • -V β€” plot twist era: write the ones where a cycle is found instead (or a path, if you're running with -p) πŸ™ˆ
  • -u β€” suppress output to outfile and give statistics instead πŸ“Š
little side note, bestie: the output file will have a header if and only if the input file does. That's an iff, so don't come for me 🫢
  • -p β€” be content with a hamiltonian path, it doesn't have to be the full cycle, we're lowkey flexible 🌸
  • -v β€” give a cycle or path if one is found. show me the receipts πŸ‘€
  • -c β€” if a cycle or path is found, do an independent check of it. trust but verify, that's the motto πŸ’…
  • -L# β€” limit the number of sideways steps (default is 1000+40*n) πŸšΆβ™€οΈ
  • -t# β€” try it # times (default is 1). one and done, unless you say otherwise πŸ’–
  • -q β€” suppress auxiliary information. shhh 🀫

and that's the whole page, bestie!! every flag, every default, every iff, preserved, slayed, iconic. πŸ’œ

this was hamheuristic 2.9.3, from September 2026 β€” go forth and find those cycles, main character πŸŽ€βœ¨πŸ¦‹

πŸ“¦ 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