For direct computations of canonical labelings of sequences. A transformation is a sequence, for example. Non-morphic! Functions can be continued from partial labelings.
For direct computations of canonical labelings of sequences. A transformation is a sequence, for example. Non-morphic! Functions can be continued from partial labelings.
(can-lab-seq s)
(can-lab-seq PL s)
Canonical labeling of a sequence s
. The elements of the sequence get
converted to non-negative integers in ascending order. A hash-map is
constructed to map elements to integers bijectively.
PL
, a data structure for representing a partial labeling can be given in
the form [mappings next-available-integer]. It can be used for canonical
labeling of several sequences. This is also the ouput.
Canonical labeling of a sequence `s`. The elements of the sequence get converted to non-negative integers in ascending order. A hash-map is constructed to map elements to integers bijectively. `PL`, a data structure for representing a partial labeling can be given in the form [mappings next-available-integer]. It can be used for canonical labeling of several sequences. This is also the ouput.
(can-lab-seq-seq sseq)
(can-lab-seq-seq PL sseq)
Canonical labeling of a sequence of sequences. It simply threads partial
labelings through the sequence by calling can-lab-seq
.
It returns the labeling.
Canonical labeling of a sequence of sequences. It simply threads partial labelings through the sequence by calling [[can-lab-seq]]. It returns the labeling.
(can-lab-set-seq sset)
Canonical labeling of a set of sequences.
Canonical labeling of a set of sequences.
(can-seq s)
(can-seq PL s)
Returns the canonical form of a sequence s
. It can be continued from a
partial labeling PL
.
Returns the canonical form of a sequence `s`. It can be continued from a partial labeling `PL`.
(can-seq-seq sseq)
(can-seq-seq PL sseq)
The canonical representation of a sequence of sequences.
The canonical representation of a sequence of sequences.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |