Class FuzzySet<T>
java.lang.Object
org.episteme.core.mathematics.logic.fuzzy.FuzzySet<T>
Represents a fuzzy set.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionFuzzySet(MembershipFunction<T> function) Creates a new fuzzy set with the given membership function. -
Method Summary
Modifier and TypeMethodDescriptionReturns the complement of this fuzzy set.intersection(FuzzySet<T> other) Returns the intersection of this set and another (min).doublemembership(T element) Returns the degree of membership of an element in this set.Returns the union of this set and another (max).
-
Constructor Details
-
FuzzySet
Creates a new fuzzy set with the given membership function.- Parameters:
function- the membership function
-
-
Method Details
-
membership
Returns the degree of membership of an element in this set.- Parameters:
element- the element- Returns:
- membership degree [0, 1]
-
complement
-
union
-
intersection
-