Interface: RuleComparisonDirection
@kortexya/reasoninglayer / RuleComparisonDirection
Interface: RuleComparisonDirection
Section titled “Interface: RuleComparisonDirection”Defined in: src/types/inference.ts:2362
One direction: is general at least as general as specific?
Properties
Section titled “Properties”degree?
Section titled “degree?”
optionaldegree?:number|null
Defined in: src/types/inference.ts:2364
The witness’s degree, when proven.
general
Section titled “general”general:
string
Defined in: src/types/inference.ts:2366
The rule read as the more general one.
obligations
Section titled “obligations”obligations:
RuleComparisonObligation[]
Defined in: src/types/inference.ts:2368
The undecided pairs, when incomplete.
outcome
Section titled “outcome”outcome:
RuleComparisonOutcome
Defined in: src/types/inference.ts:2370
The outcome.
reasons
Section titled “reasons”reasons:
RuleComparisonReason[]
Defined in: src/types/inference.ts:2372
What the exhausted search says, when no witness was found.
specific
Section titled “specific”specific:
string
Defined in: src/types/inference.ts:2374
The rule read as the more specific one.
unsupported?
Section titled “unsupported?”
optionalunsupported?:string|null
Defined in: src/types/inference.ts:2377
Why the direction is outside the relation, when unsupported:
aggregate_rule, rule_kind_differs or assumption_differs.
witness?
Section titled “witness?”
optionalwitness?:RuleComparisonWitness|null
Defined in: src/types/inference.ts:2378
work:
number
Defined in: src/types/inference.ts:2380
Work units the search spent.
workLimit
Section titled “workLimit”workLimit:
boolean
Defined in: src/types/inference.ts:2382
Whether the work budget stopped the search.