rule
Class ShoulderFuzzySet
java.lang.Object
|
+--rule.FuzzySet
|
+--rule.ShoulderFuzzySet
- public class ShoulderFuzzySet
- extends FuzzySet
The ShoulderFuzzySet
class defines a fuzzy set that either
slopes upward then plateaus or plateaus before sloping downward.
Method Summary |
(package private) void |
addClone(java.lang.String newName)
Creates a clone of this fuzzy set and adds it to the parent variable. |
double |
getLeftPoint()
Retrieves the beginning point of the fuzzy set. |
double |
getRightPoint()
Retrieves the end point of the fuzzy set. |
java.lang.String |
getSetDirection()
Retrieves the direction of the fuzzy set. |
Methods inherited from class rule.FuzzySet |
aboveAlphaCut,
applyAlphaCut,
applyHedgeConDil,
applyHedges,
defuzzify,
getAlphaCut,
getDomainHi,
getDomainLo,
getNumericValue,
getReferent,
getScalar,
getSetHeight,
getSetName,
getSetType,
getTruthValue,
getTruthValues,
membership,
normalise,
segmentCurve,
toString,
vectorInterpret |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ShoulderFuzzySet
ShoulderFuzzySet(ContinuousFuzzyRuleVariable parentVar,
java.lang.String name,
double alphaCut,
double ptBeg,
double ptEnd,
int setDirection)
- Creates a new Shoulder fuzzy set.
- Parameters:
parentVar
- the ContinuousFuzzyRuleVariable object that is the parentname
- the String object that contains the namealphaCut
- the double value for the alpha cutptBeg
- the double value of the beginning point of the fuzzy setptEnd
- the double value of the end point of the fuzzy setsetDirection
- the integer that represents the direction of the shoulder
addClone
void addClone(java.lang.String newName)
- Creates a clone of this fuzzy set and adds it to the parent variable.
- Parameters:
newName
- the String object that contains the name of the clone- Overrides:
- addClone in class FuzzySet
getLeftPoint
public double getLeftPoint()
- Retrieves the beginning point of the fuzzy set.
- Returns:
- the double value of the beginning point
getRightPoint
public double getRightPoint()
- Retrieves the end point of the fuzzy set.
- Returns:
- the double value of the end point
getSetDirection
public java.lang.String getSetDirection()
- Retrieves the direction of the fuzzy set.
- Returns:
- the String object that contains the direction