Liking cljdoc? Tell your friends :D

com.yetanalytics.datasim.xapi.profile

Understanding elements of xAPI profiles Generate Profile walks

Understanding elements of xAPI profiles
Generate Profile walks
raw docstring

loc-iri-mapclj

(loc-iri-map loc)

Given a zipper loc, get the map of profile subobjects by IRI

Given a zipper loc, get the map of profile subobjects by IRI
sourceraw docstring

loc-objectclj

(loc-object loc)

Given a zipper loc, look up the object from the IRI

Given a zipper loc, look up the object from the IRI
sourceraw docstring

pattern-zipclj

(pattern-zip & profiles)

Given one or more profiles, create a zipper that traverses the patterns and templates. Root is a special keyword ::root with the primary patterns as alternates children.

Given one or more profiles, create a zipper that traverses the patterns and
templates. Root is a special keyword ::root with the primary patterns as
`alternates` children.
sourceraw docstring

profiles->mapclj

(profiles->map & profiles)

Given any number of profiles, return all IRIs mapped to what they reference

Given any number of profiles, return all IRIs mapped to what they reference
sourceraw docstring

rand-pattern-zipclj

(rand-pattern-zip profiles
                  alignment
                  rng
                  &
                  {:keys [repeat-max] :or {repeat-max 5}})

Building on the comprehension from pattern-zip, return a zipper that uses a deterministic pseudorandom walk for choosing children/paths.

Building on the comprehension from pattern-zip, return a zipper that uses a
deterministic pseudorandom walk for choosing children/paths.
sourceraw docstring

registration-seqclj

(registration-seq root-loc rng)
(registration-seq profiles alignment seed)

Given a seed, alignment and profiles, return an infinite seq of maps where :registration is a string uuid :template is a statement template :seed is a derived seed for generating the statement.

Given a seed, alignment and profiles, return an infinite seq of maps where
`:registration` is a string uuid
`:template` is a statement template
`:seed` is a derived seed for generating the statement.
sourceraw docstring

root-node?clj

(root-node? node-iri)
source

walk-onceclj

(walk-once loc)

From the root of a pattern zip, perform a single walk of a primary pattern, returning a seq of locs

From the root of a pattern zip, perform a single walk of a primary pattern,
returning a seq of locs
sourceraw docstring

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

× close