Skip to content

Commit a0b9ed8

Browse files
author
guilherme
committed
readme.md fix
1 parent 3d1ca1b commit a0b9ed8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

readme.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,23 @@ This package implements a simple normalized fuzzy solver
3737

3838
The rules are executed from left to right.
3939
> A and B or C -> [ [A, B, C], [and, or] ]
40+
>
4041
> A or B and C -> [ [ [A, B], C], [or, and] ]
42+
>
4143
> A and B or C and D -> [ [ [A, B], [C, D]], [and, or, and] ]
44+
>
4245
> A and (B or C) -> [ [A, [B, C] ], [and, or]]
46+
>
4347
> A and (B or C or D) and D -> [ [A, [B, C, D], D], [and, or, or, and] ]
48+
>
49+
4450
---
4551

46-
### Example
52+
### Definition Example
4753

4854
```python
4955
BASE_VARIABLES = List[float]
5056
MEANING = List[Dict[str,float]]
5157
FUZZY_VARS = List[FuzzyVar]
52-
FUZZY_RULES = List[Tuple[List[Any '''float or list'''],]]
58+
FUZZY_RULES = List[Tuple[List[Any '''float or list'''], List[Callable[[float,float], float]]]]
5359
```

0 commit comments

Comments
 (0)