Interface: LtnInstance
@kortexya/reasoninglayer / LtnInstance
Interface: LtnInstance
Section titled “Interface: LtnInstance”Defined in: src/types/ltn.ts:98
One unseen instance to score in a generalisation query.
Example
Section titled “Example”const instance: LtnInstance = { individual: 'fido', membership: 0.8 };Properties
Section titled “Properties”individual
Section titled “individual”individual:
string
Defined in: src/types/ltn.ts:100
The individual to score.
membership
Section titled “membership”membership:
number
Defined in: src/types/ltn.ts:102
Its membership degree in the formula’s sort, in [0, 1].