fuzzydl
Class Modifier

java.lang.Object
  extended by fuzzydl.Modifier
Direct Known Subclasses:
LinearModifier, TriangularModifier

public abstract class Modifier
extends java.lang.Object

Fuzzy modifier.


Field Summary
protected  java.lang.String name
          Name of the modifier
 
Constructor Summary
Modifier(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
          Gets the name of the modifier.
abstract  Concept modify(Concept c)
          Modifies a fuzzy concept
 void setName(java.lang.String name)
          Gets the name of the modifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Name of the modifier

Constructor Detail

Modifier

public Modifier(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Gets the name of the modifier.

Returns:
Name of the modifier.

setName

public void setName(java.lang.String name)
Gets the name of the modifier.

Parameters:
name - Name of the modifier.

modify

public abstract Concept modify(Concept c)
Modifies a fuzzy concept

Parameters:
c - A fuzzy concept
Returns:
Fuzzy concept resulting from the application of the modifier to c.