VSTREE2TEX(1)

πŸ“¦
version 2.3.1+git20240412.b3b8ac0 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– VSTREE2TEX β€” pretty-print a virtual tree πŸ’–

okay bestie, so this one is vstree2tex, from the VSTREE2TEX(1) manual, and it's literally the arts-and-crafts era of suffix trees. let's get into it πŸŽ€


✨ NAME ✨

vstree2tex β€” pretty-print a virtual tree 🌳✨


πŸ¦‹ SYNOPSIS πŸ¦‹

vstree2tex [options] indexname

🌸 DESCRIPTION 🌸

okay so vstree2tex takes a virtual suffix tree and produces a representation of it in LATEX format, then prints that to standard output. it's giving glow-up but for data structures. πŸ’…

🚨 bestie listen. vstree2tex should only be used for very small indexes, because it produces large output files. no cap.

let's talk math for a sec, don't scroll. suppose the total length of all sequences in the index is n. if the option -s is not used, then the output size of vstree2tex is about 10n bytes per option β€” plus some constant number of bytes for the header and the footer of the LATEX file. if the option -s is used, then the size of the output is proportional to n^2. yeah. n squared. she's not subtle. 😭

and like, what is this program for? it's mainly designed for debugging a program based on the index, and for educational purposes. so it's basically the study-group queen of tools πŸ§šπŸ“š


πŸ‘‘ OPTIONS πŸ‘‘

  • -s β€” output suffixes ✨
  • -tis β€” output tistab
  • -ois β€” output oistab
  • -suf β€” output suftab
  • -sti1 β€” output small inverse suftab
  • -bwt β€” output bwttab
  • -bck β€” output bcktab in vertical mode ⬆️⬇️
  • -bckhz β€” output bcktab in horizontal mode β¬…οΈβž‘οΈ
  • -lcp β€” output lcptab
  • -skp β€” output skptab
  • -cfr β€” output cfrtab
  • -crf β€” output crftab (yes, that's a different one from -cfr, do not come for me, they're both right there 😌)
  • -lsf β€” output lsftab
  • -sti β€” output inverse suftab
  • -cld β€” output cldtab
  • -iso β€” output isotab
  • -version β€” show the version of the Vmatch package 🏷️
  • -help β€” show help 🫢

that's the whole vibe. every table, every flag, all of it, exactly as the original says. πŸ’œ

and that's a wrap on this page from the VSTREE2TEX(1) manual β€” mwah, take care of her, she's iconic πŸ‘‘πŸ’–

πŸ“¦ where this page comes from