Skip to content

Interface: FuzzyUnifyResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / FuzzyUnifyResponse

Defined in: src/types/fuzzy.ts:113

Response from fuzzy unification.

optional alternatives?: FuzzyUnifyAlternative[]

Defined in: src/types/fuzzy.ts:137

Every supported native branch, retaining its graph and bindings.


optional awaiting?: string[]

Defined in: src/types/fuzzy.ts:155

The features the unification is waiting on, sorted.

The engine omits the key when nothing is waiting.


optional complete?: boolean

Defined in: src/types/fuzzy.ts:121

Whether the native search and branch checks finished; absent is unmeasured.


confidencePercent: number

Defined in: src/types/fuzzy.ts:117

Percentage representation (0-100).


degree: number

Defined in: src/types/fuzzy.ts:115

Unification degree mu in [0,1].


optional exactDegree?: string | null

Defined in: src/types/fuzzy.ts:131

FuzzyUnifyResponse.degree exactly, as numerator/denominator.

A declared cut compares this value; under a product conjunction degree is its nearest double.


optional pendingGoalId?: string | null

Defined in: src/types/fuzzy.ts:157

Saved strict native obligation behind a provisional response.


optional policy?: string | null

Defined in: src/types/fuzzy.ts:123

Native search policy, when supplied.


optional residuated?: boolean

Defined in: src/types/fuzzy.ts:148

Whether at least one feature comparison was SUSPENDED on an unknown value instead of being scored.

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.


optional termination?: TheoryTermination | null

Defined in: src/types/fuzzy.ts:135

The termination verdict of this run, when theory normalization created a node.


optional theoryPolicy?: string | null

Defined in: src/types/fuzzy.ts:133

The executed theory policy, which names the declared conjunction.