Liking cljdoc? Tell your friends :D

kigen.pbr

partitioned binary relations stored as maps: integers -> set of integers e.g. {1 #{1 2}, 2 #{2}} for degree n, domain is 1..n, codomain is n+1..2n e.g. degree 3, domain is {1,2,3}, codomain is {4,5,6}

partitioned binary relations stored as maps: integers -> set of integers
e.g. {1 #{1 2}, 2 #{2}}
for degree n, domain is 1..n, codomain is n+1..2n
e.g. degree 3, domain is {1,2,3}, codomain is {4,5,6}
raw docstring

actclj

(act A pbr)

the action of a partitioned binary relation pbr on a set A that is a subset of the union of its domain and codomain

the action of a partitioned binary relation pbr on a set A
that is a subset of the union of its domain and codomain
sourceraw docstring

brauer-gensclj

(brauer-gens n)

Generator PBRs of the Brauer monoid.

Generator PBRs of the Brauer monoid.
sourceraw docstring

edges-from-nodeclj

(edges-from-node node pbr)
source

ext->intclj

(ext->int extrep)

External representation to internal representation.

External representation to internal representation.
sourceraw docstring

flipclj

(flip pbr)

Flips a pbr upside-down.

Flips a pbr upside-down.
sourceraw docstring

imgclj

(img pbr)

the image of the partitioned binary relation, i.e. acting on its points

the image of the partitioned binary relation, i.e. acting on its points
sourceraw docstring

mulclj

(mul a b)

multiply two partitioned binary relations

multiply two partitioned binary relations
sourceraw docstring

overlayclj

(overlay pbr1 pbr2)

Overlays two pbrs. The pbrs should have the same (co)domains.

Overlays two pbrs. The pbrs should have the same (co)domains.
sourceraw docstring

pbr-monoidclj

(pbr-monoid n)

The full PBR monoid generated combinatorially.

The full PBR monoid generated combinatorially.
sourceraw docstring

rand-pbrclj

(rand-pbr n)
(rand-pbr m n)

a random (n,m) partitioned binary relation

a random (n,m) partitioned binary relation
sourceraw docstring

rand-subsetclj

(rand-subset coll)

returns a random subset of the given collection

returns a random subset of the given collection
sourceraw docstring

reachable-endpointsclj

(reachable-endpoints node pbrs endpoints)
source

revclj

(rev pbr)

Reverses the arrow in a pbr.

Reverses the arrow in a pbr.
sourceraw docstring

shift-pbrclj

(shift-pbr pbr offsets)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close