Skip to content

HedgeFunction

HedgeFunction

Bases: Hedge

Hedge that modifies the membership function value of a term according to the term Function.

This hedge is not registered with the HedgeFactory because the Function cannot be easily configured.

related

Attributes

function instance-attribute

function = function

name property

name: str

Get the name of the hedge.

Returns:

Type Description
str

name of the hedge

Functions

__init__

__init__(function: Function) -> None

Constructor.

Parameters:

Name Type Description Default
function Function

function \(f\).

required

hedge

hedge(x: Scalar) -> Scalar

Compute \(f(x)\).

Parameters:

Name Type Description Default
x Scalar

membership function value

required

Returns:

Type Description
Scalar

\(h(x) = f(x)\)