Skip to content

Type Alias: FuzzyShapeDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Values / FuzzyShapeDto

Type Alias: FuzzyShapeDto

FuzzyShapeDto = TriangularShape | TrapezoidalShape | GaussianShape | CyclicGaussianShape | SigmoidShape | BellShape | SigmoidDifferenceShape | GaussianProductShape | SigmoidProductShape | CosineShape | SpikeShape | CauchyShape | SShapeShape | ZShapeShape | PiShapeShape | PiecewiseLinearShape

Defined in: src/types/values.ts:375

Fuzzy membership function shape.

Remarks

Discriminator field is "kind", NOT "type".

This differs from most other tagged unions in the API which use "type". The backend Rust type uses #[serde(tag = "kind")].

Contains 16 variants covering standard membership function families.

Example

{"kind": "Triangular", "a": 20, "b": 22, "c": 24}
{"kind": "Gaussian", "mean": 100, "stdDev": 15}
{"kind": "Sigmoid", "midpoint": 0.95, "steepness": 20}