Type Alias: FuzzyShapeDto
@kortexya/reasoninglayer / FuzzyShapeDto
Type Alias: FuzzyShapeDto
Section titled “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:693
Fuzzy membership function shape.
Remarks
Section titled “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
Section titled “Example”{"kind": "Triangular", "a": 20, "b": 22, "c": 24}{"kind": "Gaussian", "mean": 100, "stdDev": 15}{"kind": "Sigmoid", "midpoint": 0.95, "steepness": 20}