Interface: LtnRefuteRequest
@kortexya/reasoninglayer / LtnRefuteRequest
Interface: LtnRefuteRequest
Section titled “Interface: LtnRefuteRequest”Defined in: src/types/ltn.ts:243
Request to verify whether candidateRules is a logical consequence of
kbRules at satisfaction threshold q (reasoning by refutation).
Example
Section titled “Example”const request: LtnRefuteRequest = { kbRules: [{ individual: 'rex', sort: 'dog', membership: 0.9 }], candidateRules: [{ individual: 'rex', sort: 'animal', membership: 0.95 }], q: 0.7,};Properties
Section titled “Properties”aggregator?
Section titled “aggregator?”
optionalaggregator?:LtnAggregator|null
Defined in: src/types/ltn.ts:249
KB-level aggregator. Absent ⇒ pMeanError(p = 2).
candidateRules
Section titled “candidateRules”candidateRules:
LtnRule[]
Defined in: src/types/ltn.ts:247
The candidate formula φ.
gridSteps?
Section titled “gridSteps?”
optionalgridSteps?:number|null
Defined in: src/types/ltn.ts:254
Certainty-grid resolution per rule for the search.
Default Value
Section titled “Default Value”6kbRules
Section titled “kbRules”kbRules:
LtnRule[]
Defined in: src/types/ltn.ts:245
The knowledge base K.
optionalq?:number|null
Defined in: src/types/ltn.ts:259
Satisfaction threshold q ∈ (0.5, 1).
Default Value
Section titled “Default Value”0.7refineSteps?
Section titled “refineSteps?”
optionalrefineSteps?:number|null
Defined in: src/types/ltn.ts:264
Local-refinement steps per rule.
Default Value
Section titled “Default Value”4