net.sourceforge.jfl.core.operators
Class FuzzySets<T>

java.lang.Object
  extended by net.sourceforge.jfl.core.operators.FuzzySets<T>
Type Parameters:
T - the type of the elements stored in both the FuzzySet operands.
All Implemented Interfaces:
IFuzzySets<T>

public class FuzzySets<T>
extends java.lang.Object
implements IFuzzySets<T>

Naive implementation.

Author:
vm_tbp@users.sourceforge.net

Constructor Summary
FuzzySets()
           
 
Method Summary
 IFuzzySet<T> and(IFuzzySet<T> a, IFuzzySet<T> b)
          Performs a fuzzy logic and between this fuzzy set and the given one
 IFuzzyRelationship compose(IFuzzyRelationship relA, IFuzzyRelationship relB)
          Performs composition between fuzzy relationships.
 IFuzzySet<T> intersect(IFuzzySet<T> a, IFuzzySet<T> b)
          Performs the fuzzy intersection between this fuzzy set and the given one.
 IFuzzySet<T> or(IFuzzySet<T> a, IFuzzySet<T> b)
          Performs a fuzzy logic or between this fuzzy set and the given one
 IFuzzySet<T> union(IFuzzySet<T> a, IFuzzySet<T> b)
          Performs the fuzzy union between this fuzzy set and the given one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuzzySets

public FuzzySets()
Method Detail

and

public final IFuzzySet<T> and(IFuzzySet<T> a,
                              IFuzzySet<T> b)
Description copied from interface: IFuzzySets
Performs a fuzzy logic and between this fuzzy set and the given one

Specified by:
and in interface IFuzzySets<T>
Returns:
the fuzzy set resulting from the and between this fuzzy set and the given one.

compose

public final IFuzzyRelationship compose(IFuzzyRelationship relA,
                                        IFuzzyRelationship relB)
Description copied from interface: IFuzzySets
Performs composition between fuzzy relationships. This method is generally used when it is necessary to evaluate a rule (which can be tought as a relationship) on the basis of a fuzzified input.

Specified by:
compose in interface IFuzzySets<T>
Returns:
the relationship resulting from the composition.

intersect

public final IFuzzySet<T> intersect(IFuzzySet<T> a,
                                    IFuzzySet<T> b)
Description copied from interface: IFuzzySets
Performs the fuzzy intersection between this fuzzy set and the given one. Intersection is usually performed using a T-Norm. Remember that in fuzzy terms, the intersection between A and its fuzzy complement can be different from the empty set.

Specified by:
intersect in interface IFuzzySets<T>
Returns:
the fuzzy set resulting from the intersection between this fuzzy set and anotherSet

or

public final IFuzzySet<T> or(IFuzzySet<T> a,
                             IFuzzySet<T> b)
Description copied from interface: IFuzzySets
Performs a fuzzy logic or between this fuzzy set and the given one

Specified by:
or in interface IFuzzySets<T>
Returns:
the fuzzy set resulting from the or between this fuzzy set and the given one.

union

public final IFuzzySet<T> union(IFuzzySet<T> a,
                                IFuzzySet<T> b)
Description copied from interface: IFuzzySets
Performs the fuzzy union between this fuzzy set and the given one. Union is usually performed using a T-Conorm. Remember that in fuzzy terms, the union between A and its fuzzy complement can be different from the Universe.

Specified by:
union in interface IFuzzySets<T>
Returns:
the fuzzy set resulting from the intersection between this fuzzy set and anotherSet.


Copyright © 2000 Dummy Corp. All Rights Reserved.