net.sourceforge.fuzzyservices.beans.swing
Class MembershipFunctionBeanModel

java.lang.Object
  extended by net.sourceforge.fuzzyservices.swing.AbstractMembershipFunctionModel
      extended by net.sourceforge.fuzzyservices.beans.swing.MembershipFunctionBeanModel
All Implemented Interfaces:
net.sourceforge.fuzzyservices.swing.MembershipFunctionModel

public class MembershipFunctionBeanModel
extends net.sourceforge.fuzzyservices.swing.AbstractMembershipFunctionModel

Author:
Uwe Weng

Field Summary
 
Fields inherited from class net.sourceforge.fuzzyservices.swing.AbstractMembershipFunctionModel
changeEvent, listenerList
 
Constructor Summary
MembershipFunctionBeanModel(MembershipFunction membershipFunction)
          Creates a new instance of MembershipFunctionBeanModel.
 
Method Summary
 void addPoint(float x, float y)
           
 float getDefuzzifiedValue()
           
 float getDegreeOfMembership(float x)
           
 float[] getXValues()
           
 void removePointAt(float x)
           
 
Methods inherited from class net.sourceforge.fuzzyservices.swing.AbstractMembershipFunctionModel
addChangeListener, addPropertyChangeListener, fireStateChanged, getChangeListeners, getListeners, isEnabled, removeChangeListener, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MembershipFunctionBeanModel

public MembershipFunctionBeanModel(MembershipFunction membershipFunction)
Creates a new instance of MembershipFunctionBeanModel.

Parameters:
membershipFunction - the source of this model
Method Detail

getXValues

public float[] getXValues()

getDegreeOfMembership

public final float getDegreeOfMembership(float x)

addPoint

public final void addPoint(float x,
                           float y)

removePointAt

public final void removePointAt(float x)

getDefuzzifiedValue

public final float getDefuzzifiedValue()


Copyright © 2007-2012 Fuzzy Services. All Rights Reserved.