Interface: FuzzyUnifyResponse
@kortexya/reasoninglayer / FuzzyUnifyResponse
Interface: FuzzyUnifyResponse
Section titled “Interface: FuzzyUnifyResponse”Defined in: src/types/fuzzy.ts:113
Response from fuzzy unification.
Properties
Section titled “Properties”alternatives?
Section titled “alternatives?”
optionalalternatives?:FuzzyUnifyAlternative[]
Defined in: src/types/fuzzy.ts:137
Every supported native branch, retaining its graph and bindings.
awaiting?
Section titled “awaiting?”
optionalawaiting?:string[]
Defined in: src/types/fuzzy.ts:155
The features the unification is waiting on, sorted.
Remarks
Section titled “Remarks”The engine omits the key when nothing is waiting.
complete?
Section titled “complete?”
optionalcomplete?:boolean
Defined in: src/types/fuzzy.ts:121
Whether the native search and branch checks finished; absent is unmeasured.
confidencePercent
Section titled “confidencePercent”confidencePercent:
number
Defined in: src/types/fuzzy.ts:117
Percentage representation (0-100).
degree
Section titled “degree”degree:
number
Defined in: src/types/fuzzy.ts:115
Unification degree mu in [0,1].
exactDegree?
Section titled “exactDegree?”
optionalexactDegree?:string|null
Defined in: src/types/fuzzy.ts:131
FuzzyUnifyResponse.degree exactly, as numerator/denominator.
Remarks
Section titled “Remarks”A declared cut compares this value; under a product conjunction degree
is its nearest double.
pendingGoalId?
Section titled “pendingGoalId?”
optionalpendingGoalId?:string|null
Defined in: src/types/fuzzy.ts:157
Saved strict native obligation behind a provisional response.
policy?
Section titled “policy?”
optionalpolicy?:string|null
Defined in: src/types/fuzzy.ts:123
Native search policy, when supplied.
residuated?
Section titled “residuated?”
optionalresiduated?:boolean
Defined in: src/types/fuzzy.ts:148
Whether at least one feature comparison was SUSPENDED on an unknown value instead of being scored.
Remarks
Section titled “Remarks”An unknown is an Uninstantiated slot or an unbound variable. With
failOnUnknown: false an unknown is never a mismatch; true here says
the degree is provisional on the features listed in
FuzzyUnifyResponse.awaiting.
term:
TermDto
Defined in: src/types/fuzzy.ts:119
The unified term.
termination?
Section titled “termination?”
optionaltermination?:TheoryTermination|null
Defined in: src/types/fuzzy.ts:135
The termination verdict of this run, when theory normalization created a node.
theoryPolicy?
Section titled “theoryPolicy?”
optionaltheoryPolicy?:string|null
Defined in: src/types/fuzzy.ts:133
The executed theory policy, which names the declared conjunction.