We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5adb4 commit 2af8dd6Copy full SHA for 2af8dd6
src/fuzzylogic/classes.py
@@ -35,13 +35,8 @@ class Domain:
35
>>> temp.hot = Set(lambda x: 0)
36
>>> temp.hot(5)
37
0
38
-
39
- DO NOT call a derived set without assignment first as it WILL
40
- confuse the recursion and seriously mess up.
41
- NOT: ~temp.hot(2) or ~(temp.hot.)(2)
42
- BUT:
43
- >>> not_hot = ~temp.hot
44
- >>> not_hot(2)
+ It is possible now to call derived sets without assignment first!
+ >>> (very(~temp.hot) | ~very(temp.hot))(2)
45
1
46
47
You MUST NOT add arbitrary attributes to an *instance* of Domain - you can
0 commit comments