Skip to content

Interface: KripkeState

@kortexya/reasoninglayer


@kortexya/reasoninglayer / KripkeState

Defined in: src/types/temporal.ts:38

One state in the Kripke model.

State IDs must be unique non-negative integers within a model. labels names the atomic propositions that hold in the state (e.g. "ready", "running"); they are matched by name against { op: 'atom', name } formula nodes.

const state: KripkeState = { id: 0, labels: ['red'] };

id: number

Defined in: src/types/temporal.ts:40

Numeric identifier for this state. Must be unique within the model.


optional labels?: string[]

Defined in: src/types/temporal.ts:43

Atomic-proposition labels that hold in this state. Defaults to none.