matches/compare#

Interfaces#

MatchStampCheck#

Defined in: matches/compare.ts:59

How a named MatchStamp compares with an anchor index (checkMatchStamp).

Properties#

anchorsGone#

readonly anchorsGone: readonly number[]

Defined in: matches/compare.ts:71

Named anchors not stated (their positions in the named list).

anchorsNew#

readonly anchorsNew: readonly number[]

Defined in: matches/compare.ts:73

Anchors of the current potential MatchStamps the named one lacks, ascending.

claimsElsewhere#

readonly claimsElsewhere: readonly string[]

Defined in: matches/compare.ts:83

Recorded claims passing the mask that state no anchor of the current potential MatchStamps.

claimsFilteredOut#

readonly claimsFilteredOut: readonly string[]

Defined in: matches/compare.ts:81

Recorded claims the table holds and the mask leaves out: those whose state for the believer the belief filter does not keep (believed false under the default filter; undecided too where it keeps only true).

claimsMissing#

readonly claimsMissing: readonly string[]

Defined in: matches/compare.ts:75

Recorded claims the table does not hold, in the recorded order.

claimsNew#

readonly claimsNew: readonly string[]

Defined in: matches/compare.ts:85

Claims behind the current potential MatchStamps not recorded, in row order.

current#

readonly current: readonly number[]

Defined in: matches/compare.ts:69

The current potential MatchStamps, ascending.

outOfDate#

readonly outOfDate: boolean

Defined in: matches/compare.ts:67

stated#

readonly stated: readonly (number | null)[]

Defined in: matches/compare.ts:61

Per named anchor the index’s anchor stating it, null when it is not stated.

statedBy#

readonly statedBy: readonly Uint32Array<ArrayBufferLike>[]

Defined in: matches/compare.ts:66

Per named anchor the rows of the MatchClaims stating it, those the mask passes, ascending; empty where it is not stated.

update#

readonly update: MatchStampUpdate | null

Defined in: matches/compare.ts:87

What Update rewrites it from; null when no anchor is stated.


MatchStampUpdate#

Defined in: matches/compare.ts:48

The current potential MatchStamp an Update rewrites a named one from.

Properties#

anchors#

readonly anchors: Uint32Array

Defined in: matches/compare.ts:51

claims#

readonly claims: readonly string[]

Defined in: matches/compare.ts:53

The IDs of the claims behind it, in row order.

coordinates#

readonly coordinates: Uint32Array

Defined in: matches/compare.ts:50

matchStamp#

readonly matchStamp: number

Defined in: matches/compare.ts:49

nameAnchor#

readonly nameAnchor: number | null

Defined in: matches/compare.ts:55

The anchor carrying the name, when the named one carrying it is stated here; else null.


NamedAnchor#

Defined in: matches/compare.ts:35

An alignment anchor of a named MatchStamp.

Properties#

carriesName#

readonly carriesName: boolean

Defined in: matches/compare.ts:38

Whether the anchor’s line shows the MatchStamp’s name.

coordinates#

readonly coordinates: readonly [NamedCoordinate, NamedCoordinate]

Defined in: matches/compare.ts:36


NamedCoordinate#

Defined in: matches/compare.ts:29

A coordinate as a named MatchStamp gives it: a timeline ID and a value in its number type.

Properties#

timeline#

readonly timeline: string

Defined in: matches/compare.ts:30

value#

readonly value: CoordinateValue

Defined in: matches/compare.ts:31


NamedMatchStampSpec#

Defined in: matches/compare.ts:42

What the comparison reads of a named MatchStamp: its alignment anchors and the claims it records.

Properties#

anchors#

readonly anchors: readonly NamedAnchor[]

Defined in: matches/compare.ts:43

claims#

readonly claims: readonly string[]

Defined in: matches/compare.ts:44

Functions#

checkMatchStamp()#

checkMatchStamp(index, spec): MatchStampCheck

Defined in: matches/compare.ts:91

Compare a named MatchStamp with the index.

Parameters#

index#

AnchorIndex

spec#

NamedMatchStampSpec

Returns#

MatchStampCheck