|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.fuzzyservices.beans.MembershipFunctionPoint
public class MembershipFunctionPoint
This class represents a point on a membership function according to JavaBeans conventions.
MembershipFunctionPoint,
Serialized Form| Constructor Summary | |
|---|---|
MembershipFunctionPoint()
Default MembershipFunctionPoint constructor. |
|
MembershipFunctionPoint(float newX,
float newDegreeOfMembership)
Constructs a MembershipFunctionPoint which is
initialized with x as x value and
newDegreeOfMembership as degree of membership of this x
value. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
float |
getDegreeOfMembership()
Returns the degree of membership of this point. |
float |
getX()
Returns the x value of this point. |
int |
hashCode()
|
void |
setDegreeOfMembership(float aDegreeOfMembership)
Sets the degree of membership of this point. |
void |
setX(float xValue)
Sets the x value of this point. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MembershipFunctionPoint()
MembershipFunctionPoint constructor. Both x
value and degree of membership are 0.0.
public MembershipFunctionPoint(float newX,
float newDegreeOfMembership)
MembershipFunctionPoint which is
initialized with x as x value and
newDegreeOfMembership as degree of membership of this x
value.
newX - the x valuenewDegreeOfMembership - the degree of membership to the x value| Method Detail |
|---|
public final float getX()
x propertysetX(float)public final float getDegreeOfMembership()
degreeOfMembership propertysetDegreeOfMembership(float)public final void setDegreeOfMembership(float aDegreeOfMembership)
aDegreeOfMembership - The new value for the property.getDegreeOfMembership()public final void setX(float xValue)
xValue - The new value for the property.getX()public Object clone()
clone in class Objectpublic final boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||