Interface: WhyNot
@kortexya/reasoninglayer / WhyNot
Interface: WhyNot
Section titled “Interface: WhyNot”Defined in: src/types/inference.ts:652
Why a goal has no proof.
Properties
Section titled “Properties”factsOfSort
Section titled “factsOfSort”factsOfSort:
number
Defined in: src/types/inference.ts:658
Facts of the goal’s sort that were compared (at most 500).
goalSort
Section titled “goalSort”goalSort:
string
Defined in: src/types/inference.ts:654
The goal’s sort.
nearestFact?
Section titled “nearestFact?”
optionalnearestFact?:WhyNotNearestFact|null
Defined in: src/types/inference.ts:660
The fact of the goal’s sort that agrees with the most stated values, if any.
rules:
WhyNotRule[]
Defined in: src/types/inference.ts:662
Rules whose conclusion’s sort is compatible with the goal’s (at most 10).
summary
Section titled “summary”summary:
string
Defined in: src/types/inference.ts:656
One-paragraph explanation.