Fuzzy Set Base
Base classes to implement fuzzy sets. The Fuzzy Set and Fuzzy Set Members.
- class fuzzy_sets.base.FuzzySet(*args, **kwargs)
Bases:
set
[FuzzySetMember
]An extension of the default Python set class that adds a few convenience methods.
- sort_by_membership() list[FuzzySetMember]
Return the set sorted by membership, uses value as a tiebreaker.
- property values: list[float]
Return a set of just values.