|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the elements stored in the FuzzySet.public interface IFuzzySet<T>
A fuzzy set is a generalization of a crisp set. Basically you can think about a fuzzy set as a crisp set having a carachteristic function having values in [0, 1] interaval instead of {0, 1} set.
Method Summary | |
---|---|
IFuzzySet<T> |
and(IFuzzySet<T> anotherSet)
Performs a fuzzy logic and between this fuzzy set and the given one |
IFuzzySet<T> |
complement()
Return a fuzzy set represents the complentary of the set. |
java.lang.String |
getLabel()
Returns the label of this fuzzy set. |
double |
getMembership(T element)
returns the membership value of the provided element to this IFuzzySet. |
java.util.Set<T> |
getSupport()
Gets the fuzzy set support or, in other words, all the elements with non zero membership value. |
java.util.Set<Interval> |
getSupportIntervals()
Gets the fuzzy set support or, in other words, all the elements with non zero membership value. |
IFuzzySet<T> |
or(IFuzzySet<T> anotherSet)
Performs a fuzzy logic or between this fuzzy set and the given one |
void |
setLabel(java.lang.String label)
Sets this fuzzy set label. |
Method Detail |
---|
double getMembership(T element)
element
- the element of which we want the membership value for this
IFuzzySet
java.util.Set<T> getSupport()
java.util.Set<Interval> getSupportIntervals()
void setLabel(java.lang.String label)
label
- the label to setjava.lang.String getLabel()
IFuzzySet<T> complement()
IFuzzySet<T> and(IFuzzySet<T> anotherSet)
anotherSet
- the fuzzy set to perform the fuzzy logic and with
IFuzzySet<T> or(IFuzzySet<T> anotherSet)
anotherSet
- the fuzzy set to perform the fuzzy logic or with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |