Skip to content

Interface: RuleComparisonDirection

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RuleComparisonDirection

Defined in: src/types/inference.ts:2362

One direction: is general at least as general as specific?

optional degree?: number | null

Defined in: src/types/inference.ts:2364

The witness’s degree, when proven.


general: string

Defined in: src/types/inference.ts:2366

The rule read as the more general one.


obligations: RuleComparisonObligation[]

Defined in: src/types/inference.ts:2368

The undecided pairs, when incomplete.


outcome: RuleComparisonOutcome

Defined in: src/types/inference.ts:2370

The outcome.


reasons: RuleComparisonReason[]

Defined in: src/types/inference.ts:2372

What the exhausted search says, when no witness was found.


specific: string

Defined in: src/types/inference.ts:2374

The rule read as the more specific one.


optional unsupported?: 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.


optional witness?: RuleComparisonWitness | null

Defined in: src/types/inference.ts:2378


work: number

Defined in: src/types/inference.ts:2380

Work units the search spent.


workLimit: boolean

Defined in: src/types/inference.ts:2382

Whether the work budget stopped the search.