Liking cljdoc? Tell your friends :D

vaelii.impl.decide.related

The declarations over related types: a disjoint over two types one reaches the other of through genl, a cover naming a part a disjoint separates from its whole, and an orthogonal over two types a genl edge or a separation contradicts. See docs/reference.md, decision 8.

The declarations over related types: a `disjoint` over two types one reaches the other
of through `genl`, a cover naming a part a `disjoint` separates from its whole, and an
`orthogonal` over two types a `genl` edge or a separation contradicts.  See
docs/reference.md, decision 8.
raw docstring

exempt-at?clj

(exempt-at? kb w cls members up)

Does a reader with ancestor set up read no conviction of the orthogonal nogood members (convictions, cls a handle's class)? It reads none when each conviction is a separation that a siblingDisjointException the reader sees exempts (tax/route-exempted?, as membership/exempt-at? reads), or whose supporters or climbs the reader does not see. A genl edge between the pair, or one type named twice, is exempt nowhere. False for any other nogood, and while no exception is stored.

Does a reader with ancestor set `up` read no conviction of the `orthogonal` nogood
`members` (`convictions`, `cls` a handle's class)?  It reads none when each conviction
is a separation that a `siblingDisjointException` the reader sees exempts
(`tax/route-exempted?`, as `membership/exempt-at?` reads), or whose supporters or climbs
the reader does not see.  A `genl` edge between the pair, or one type named twice, is
exempt nowhere.  False for any other nogood, and while no exception is stored.
sourceraw docstring

familyclj

The related-types family's entry in decide/registry. It keeps no stored declaration and no cover pair: a cover pair is read off the index (pairs-holding, every-pair), and recover leaves ::genl-seen unread, so the first read reads every declaration (sync-related). Each nogood of it is placed as a conclusion (chain/place-related!).

The related-types family's entry in `decide/registry`.  It keeps no stored declaration
and no cover pair: a cover pair is read off the index (`pairs-holding`, `every-pair`),
and recover leaves `::genl-seen` unread, so the first read reads every declaration
(`sync-related`).  Each nogood of it is placed as a conclusion
(`chain/place-related!`).
sourceraw docstring

held?clj

(held? kb c)

Can the related-types family hold a nogood: a disjoint of :related-dj or an orthogonal of :related-orth in the candidate index c, or a disjoint and a cover stored (pairs-possible?)?

Can the related-types family hold a nogood: a `disjoint` of `:related-dj` or an
`orthogonal` of `:related-orth` in the candidate index `c`, or a `disjoint` and a cover
stored (`pairs-possible?`)?
sourceraw docstring

kind-ofclj

(kind-of w recs ms)

The kind of the related-types nogood over the member handles ms, read off their sentences through the unscoped closures w: :orthogonal for an orthogonal's clash (orthogonal-member), else sxs-kind's, else nil.

The kind of the related-types nogood over the member handles `ms`, read off their
sentences through the unscoped closures `w`: `:orthogonal` for an `orthogonal`'s clash
(`orthogonal-member`), else `sxs-kind`'s, else nil.
sourceraw docstring

moved?clj

(moved? c)

Has the index queued a declaration whose nogoods the settle places again (take-moved!)?

Has the index queued a declaration whose nogoods the settle places again
(`take-moved!`)?
sourceraw docstring

nogoods-holdingclj

(nogoods-holding kb w c cls h)

The related-types nogoods with the declaration h among their members, each {:members ms :kind k}: for a disjoint of :related-dj in the candidate index c, one per route relating its arguments (edge-sets), kind sxs-kind's; each cover pair holding h, read off the index (pairs-holding), kind :cover; and for an orthogonal of :related-orth, one per member set of its convictions (convictions, cls a handle's class), kind :orthogonal, their routes under :routes. w is the unscoped closures map (decide/unscoped-closures).

The related-types nogoods with the declaration `h` among their members, each
`{:members ms :kind k}`: for a `disjoint` of `:related-dj` in the candidate index `c`,
one per route relating its arguments (`edge-sets`), kind `sxs-kind`'s; each cover pair
holding `h`, read off the index (`pairs-holding`), kind `:cover`; and for an
`orthogonal` of `:related-orth`, one per member set of its convictions (`convictions`,
`cls` a handle's class), kind `:orthogonal`, their routes under `:routes`.  `w` is the
unscoped closures map (`decide/unscoped-closures`).
sourceraw docstring

orthogonals?clj

(orthogonals? kb w)

Does the store hold a fact of orthogonal or of a predicate under it, which a separation declaration the settle relabels can contradict (reread-separated!)? Count reads.

Does the store hold a fact of `orthogonal` or of a predicate under it, which a
separation declaration the settle relabels can contradict (`reread-separated!`)?
Count reads.
sourceraw docstring

reread-separated!clj

(reread-separated! kb w ends)

Read again whether each stored orthogonal with an argument at or below one of the types ends is contradicted somewhere, and return those contradicted before or after: the ones whose routes a separation over ends moving can move. The settle calls this for the separation declarations it relabels (chain/place-related!).

Read again whether each stored `orthogonal` with an argument at or below one of the
types `ends` is contradicted somewhere, and return those contradicted before or after:
the ones whose routes a separation over `ends` moving can move.  The settle calls this
for the separation declarations it relabels (`chain/place-related!`).
sourceraw docstring

routesclj

(routes {:keys [kind] :as ng})

Each way the unscoped taxonomy convicts the related-types nogood ng, as {:links [[sub super]] :keys #{k} :pair [x y]} (tax/separation-routes' shape): a disjoint and the edges of a route, or a cover pair, none, since every fact it reads is a member; an orthogonal's clash, the routes nogoods-holding gave it.

Each way the unscoped taxonomy convicts the related-types nogood `ng`, as
`{:links [[sub super]] :keys #{k} :pair [x y]}` (`tax/separation-routes`' shape): a
`disjoint` and the edges of a route, or a cover pair, none, since every fact it reads
is a member; an `orthogonal`'s clash, the routes `nogoods-holding` gave it.
sourceraw docstring

take-moved!clj

(take-moved! kb)

The declarations whose related-types nogoods moved since the last call, and the queue emptied (noted).

The declarations whose related-types nogoods moved since the last call, and the queue
emptied (`noted`).
sourceraw docstring

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