Skip to content

Commit ae179fa

Browse files
committed
2 parents 050debb + d961a50 commit ae179fa

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

fuzzy_logic/fuzzy_operations.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import matplotlib.pyplot as plt
22
import numpy as np
33
from dataclasses import dataclass
4+
45
"""
56
By @Shreya123714
67
@@ -46,6 +47,7 @@ class FuzzySet:
4647
this fuzzy set.
4748
plot(): Plot the membership function of the fuzzy set.
4849
"""
50+
4951
name: str
5052
left_boundary: float
5153
peak: float
@@ -62,10 +64,10 @@ class FuzzySet:
6264
peak (float): The peak (central) value of the fuzzy set.
6365
right_boundary (float): The right boundary of the fuzzy set.
6466
"""
65-
# self.name = name # Fuzzy set name
66-
# self.left_boundary = left_boundary # Left boundary
67-
# self.peak = peak # Peak value
68-
# self.right_boundary = right_boundary # Right boundary
67+
# self.name = name # Fuzzy set name
68+
# self.left_boundary = left_boundary # Left boundary
69+
# self.peak = peak # Peak value
70+
# self.right_boundary = right_boundary # Right boundary
6971

7072
def membership(self, x: float) -> float:
7173
"""

0 commit comments

Comments
 (0)