Skip to content

Interface: CosineShape

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Values / CosineShape

Interface: CosineShape

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

Cosine fuzzy membership function with compact support.

Membership: μ(x) = 0.5 * (1 + cos(2π/width * (x - center))) for |x - center| <= width/2, μ(x) = 0 otherwise.

Remarks

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

Properties

center

center: number

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


kind

kind: "Cosine"

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


width

width: number

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