Liking cljdoc? Tell your friends :D

kigen.canonical-labeling

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.
raw docstring

can-lab-seqclj

(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.
sourceraw docstring

can-lab-seq-seqclj

(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.
sourceraw docstring

can-lab-set-seqclj

(can-lab-set-seq sset)

Canonical labeling of a set of sequences.

Canonical labeling of a set of sequences.
sourceraw docstring

can-seqclj

(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`.
sourceraw docstring

can-seq-seqclj

(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.
sourceraw docstring

can-set-seqclj

(can-set-seq sset)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close