clm_optics(1)
π NAME π
clm_optics β bestie, this is the implementation of the OPTICS reachability ordering β¨
Okay so first thing, real talk: clmoptics is not actually a program π It is not giving standalone-binary energy. This manual page documents the behaviour and options of the clm program when you invoke it in mode optics. Also, the options -h, --apropos, --version, -set, and --nop are accessible in all clm modes, and they're described over in the clm manual page. Go look there, iykyk π
πΈ SYNOPSIS πΈ
clm optics -imx <fname> [options]
clm optics -imx fname (input graph file name) -max-eps <num> (maximum
distance considered) -min-eps <num> (minimum similarity considered) -min-
pts <int> (minimum eps-neighbourhood size) [-icl fname (input clustering
name)] [-o fname (output name)] [-ps fname (PostScript output name)]
[-psx fname (scaling factor x axis)] [-psy fname (scaling factor y axis)]
[-ps-rows <num> (split reachability plot into <num> rows)] [--ps-labels
(show identifiers in PS output)] [-h (print synopsis, exit)] [--apropos
(print synopsis, exit)] [--version (print version, exit)]
β¨ DESCRIPTION β¨
So this program computes the reachability ordering according to the OPTICS clustering method. No cap. π
It can additionally output a PostScript plot of the reachability landscape, and that plot can be annotated with a clustering that you supply. Iconic. π¦
But listen β the program does not implement the clustering method that is associated with OPTICS. It's part of mcl-edge primarily as a visualisation aid. That's its whole job, and honestly? It's serving. π
π OPTIONS π
-imx fname(input file) β the input file, encoding a graph in native format. Feed it the graph bestie π-max-eps <num>(maximum distance considered)-min-eps <num>(minimum similarity considered)-min-pts <int>(minimum eps-neighbourhood size)
These three encode the OPTICS parameters β¨ Use -max-eps if the edge weights encode a distance (like, for example, the Euclidean distance between points), and use -min-eps if the edge weights encode a similarity. Pick the right one, it's giving nuance π
-o fname(output file name)-ps fname(PostScript file name)-icl fname(input clustering name)
The -o fname option controls the name of the file where the reachability values get written. By default those values go to STDOUT. Periodt.
If you supply -ps fname, the program will additionally output a visualisation of the reachability landscape plot into a PostScript file π
And get this β it's possible, in addition to -ps, to specify a clustering with -icl fname. Each vertical bar in the landscape plot will be coloured according to cluster membership, meaning nodes in the same cluster get the same colour. This can be a genuinely useful way to visualise separation properties of clusterings. Obsessed ππ
-psx fname(scaling factor x axis)-psy fname(scaling factor y axis)--ps-labels(show identifiers in PS output)-ps-rows <num>(split reachability plot into<num>rows)
By default the PostScript output gets scaled to fit onto an A3 page. The scaling options -psx and -psy can be used as additional scaling factors. By default these are set to 1.0. β¨
The --ps-labels flag can be used to annotate each vertical bar in the landscape plot with the mcl-edge identifier of the corresponding node. Cute and informative π
The -ps-rows option sets the number of rows. This is the primary option affecting the width of a bar. π
π AUTHOR π
Stijn van Dongen. (Yes, the icon themselves.)
π¦ SEE ALSO π¦
mclfamily(7) for an overview of all the documentation and the utilities in the mcl family. Go read it, it's giving lore πβ¨
Okay bestie that's the whole page, mwah π«Ά This was clm_optics 22-282, dated 9 Oct 2022, and it lives at clm_optics(1). Slay, bye ππΈ
π¦ where this page comes from
- debian bookworm: mcl 1:22-282+ds-2 Β· GPL-3.0-or-later
- debian trixie: mcl 1:22-282+ds-4 Β· GPL-3.0-or-later
- ubuntu noble: mcl 1:22-282+ds-2 Β· GPL-3.0-or-later
- ubuntu questing: mcl 1:22-282+ds-4
- ubuntu resolute: mcl 1:22-282+ds-4build1 Β· GPL-3.0-or-later
- ubuntu stonking: mcl 1:22-282+ds-4build1 Β· GPL-3.0-or-later
- Copyright (c) 2022 Stijn van Dongen
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms