Liking cljdoc? Tell your friends :D

vaelii.impl.point

The point algebra over time instants as a vaelii.impl.qcn relation algebra and a qcn-kb calculus: three base relations, three derived predicates, nodes including a thing's point terms and calendar moments (vaelii.impl.timepoint), and IncludesInstantProver, which reads a thing against a moment off the network. See docs/time.md and docs/qcn.md.

The point algebra over time instants as a `vaelii.impl.qcn` relation algebra and a
`qcn-kb` calculus: three base relations, three derived predicates, nodes including a
thing's point terms and calendar moments (`vaelii.impl.timepoint`), and
`IncludesInstantProver`, which reads a thing against a moment off the network.  See
docs/time.md and docs/qcn.md.
raw docstring

all-relationsclj

The three instant relations: the universe of the algebra.

The three instant relations: the universe of the algebra.
sourceraw docstring

base-relation-predicateclj

Base relation keyword → the binary predicate a fact about it is stored under.

Base relation keyword → the binary predicate a fact about it is stored under.
sourceraw docstring

composeclj

The composition of two relation sets: the union of the point-composition entries over every member pair (qcn/compose-by).

The composition of two relation sets: the union of the `point-composition` entries over every
member pair (`qcn/compose-by`).
sourceraw docstring

converse-setclj

(converse-set rels)

The converse of a relation set.

The converse of a relation set.
sourceraw docstring

includes-instant-proverclj

(includes-instant-prover)

The prover answering includesInstant off the point network, to register with vaelii.core/add-prover.

The prover answering `includesInstant` off the point network, to register with
`vaelii.core/add-prover`.
sourceraw docstring

instant-denotationclj

Every instant predicate — the three base ones and the three derived ones — mapped to the set of base relations it denotes. A goal (P a b) is entailed exactly when the relations still possible between a and b are a subset of P's denotation.

Every instant predicate — the three base ones and the three derived ones — mapped to the
set of base relations it denotes.  A goal `(P a b)` is entailed exactly when the relations
still possible between a and b are a subset of P's denotation.
sourceraw docstring

instantsclj

The point algebra as a vaelii.impl.qcn-kb calculus, with timepoint/constraints-over as its node-set narrowing and allen-fact-constraints as its stated-fact one.

The point algebra as a `vaelii.impl.qcn-kb` calculus, with `timepoint/constraints-over`
as its node-set narrowing and `allen-fact-constraints` as its stated-fact one.
sourceraw docstring

point-algebraclj

The point algebra as a vaelii.impl.qcn relation algebra.

The point algebra as a `vaelii.impl.qcn` relation algebra.
sourceraw docstring

point-compositionclj

(get-in point-composition [r1 r2]) is the set of base relations possible between a and c given r1(a,b) and r2(b,c).

`(get-in point-composition [r1 r2])` is the set of base relations possible between a and
c given `r1`(a,b) and `r2`(b,c).
sourceraw docstring

point-converseclj

Each base relation's converse.

Each base relation's converse.
sourceraw docstring

point-proverclj

(point-prover)

The point-algebra entailment prover, to register with vaelii.core/add-prover. It estimates an open goal at provers/deferred-est, so a conjunction runs the goal after the conjunct binding its variable: tp/constraints-over orders a calendar moment no node is, which the open enumeration of the nodes leaves out (docs/time.md, "The points of a temporal thing").

The point-algebra entailment prover, to register with `vaelii.core/add-prover`.  It
estimates an open goal at `provers/deferred-est`, so a conjunction runs the goal after
the conjunct binding its variable: `tp/constraints-over` orders a calendar moment no node
is, which the open enumeration of the nodes leaves out (docs/time.md, "The points of a
temporal thing").
sourceraw docstring

possible-point-relationsclj

(possible-point-relations kb context i1 i2)

The base relations still possible between instants i1 and i2 given everything believed in context — #{} when either lies in an unsatisfiable component.

The base relations still possible between instants `i1` and `i2` given everything
believed in `context` — `#{}` when either lies in an unsatisfiable component.
sourceraw docstring

unsatisfiable-regionsclj

(unsatisfiable-regions kb context touched)

The conflicted regions of the point network visible from context. The graph has an edge a → b for every pair that rules out :after. A region is a strongly connected component of it (graph/scc) holding a node of touched (any node when nil) and a pair that rules out :equal. Every node of such a component is at or before every other, so they are equal, and the pair contradicts that. As qkb/unsatisfiable-regions answers: {:nodes :pairs :members}, :members the support of the component's pairs.

The conflicted regions of the point network visible from `context`.  The graph has an
edge `a → b` for every pair that rules out `:after`.  A region is a strongly connected
component of it (`graph/scc`) holding a node of `touched` (any node when nil) and a pair
that rules out `:equal`.  Every node of such a component is at or before every other,
so they are equal, and the pair contradicts that.  As `qkb/unsatisfiable-regions`
answers: `{:nodes :pairs :members}`, `:members` the support of the component's pairs.
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