Arc
Arc
¶
Bases: Term
Edge term that represents the arc-shaped membership function.
Equation
\(\mu(x)=\dfrac{h\sqrt{r^2 - (x-c)^2}}{|r|}\)
where
- \(h\): height of the Term
- \(r\): radius of the Arc
- \(c\): center of the Arc
Attributes¶
Functions¶
__init__
¶
configure
¶
configure(parameters: str) -> None
Configure the term with the parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parameters |
str
|
|
required |
membership
¶
tsukamoto
¶
Compute the tsukamoto value of the monotonic term for activation degree \(y\).
Equation
\(y=\dfrac{h\sqrt{r^2 - (x-c)^2}}{|r|}\)
\(x=c\pm \sqrt{r^2-\dfrac{yr}{h}}\)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
y |
Scalar
|
activation degree |
required |
Returns:
Type | Description |
---|---|
Scalar
|
\(x=c\pm \sqrt{r^2-\dfrac{yr}{h}}\) |