fuzzydl
Class LinearModifier

java.lang.Object
  extended by fuzzydl.Modifier
      extended by fuzzydl.LinearModifier

public class LinearModifier
extends Modifier

Linear modifier.


Field Summary
 
Fields inherited from class fuzzydl.Modifier
name
 
Constructor Summary
LinearModifier(java.lang.String name, double b)
           
 
Method Summary
 double getB()
          Gets parameter b.
 java.lang.String getName()
          Gets the name of the modifier.
 Concept modify(Concept c)
          Modifies a fuzzy concept
 java.lang.String toString()
           
 
Methods inherited from class fuzzydl.Modifier
setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinearModifier

public LinearModifier(java.lang.String name,
                      double b)
Method Detail

getB

public double getB()
Gets parameter b.

Returns:
Parameter b.

getName

public java.lang.String getName()
Description copied from class: Modifier
Gets the name of the modifier.

Overrides:
getName in class Modifier
Returns:
Name of the modifier.

modify

public Concept modify(Concept c)
Description copied from class: Modifier
Modifies a fuzzy concept

Specified by:
modify in class Modifier
Parameters:
c - A fuzzy concept
Returns:
Fuzzy concept resulting from the application of the modifier to c.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object