Skip to content

Interface: LtnAggregator

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LtnAggregator

Defined in: src/types/ltn.ts:45

The KB-level aggregator applied to per-rule satisfaction values.

Absent ⇒ the backend default pMeanError(p = 2).

const aggregator: LtnAggregator = { kind: 'p_mean_error', p: 2 };

kind: LtnAggregatorKind

Defined in: src/types/ltn.ts:47

Which aggregator to use.


optional p?: number | null

Defined in: src/types/ltn.ts:52

The p exponent for the two p-mean aggregators. Ignored by min / max.

2