|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--infosapient.system.ObservableImpl | +--infosapient.system.FzySystemComponent | +--infosapient.resolution.FzyResolutionMethod
FzyResolutionMethod.java
Field Summary | |
protected double |
domainValue
|
protected int |
edgeCnt
|
private int[] |
edges
|
protected int |
i
|
protected int |
indexForDefuzz
|
protected static int |
LEFT
|
protected double |
mbrValue
|
(package private) static java.lang.String |
PREFIX
|
protected static int |
RIGHT
|
(package private) static long |
serialVersionUID
|
private FzyKnowledgebase |
theKB
|
protected int |
VECMAX
|
Fields inherited from class infosapient.system.FzySystemComponent |
DEBUG_,
myID,
name,
pcs,
serialVersionUID,
trace,
vcs |
Fields inherited from class infosapient.system.ObservableImpl |
arr,
changed,
obs,
serialVersionUID |
Constructor Summary | |
FzyResolutionMethod()
|
Method Summary | |
protected java.util.Vector |
_findPlateau(FzySet fset)
Return the int array representing the left and right hand side of the plateau in the membership function. |
void |
applyAlfa(FzySet fset,
int type)
|
FzySet |
applyHedge(FzySet inputSet,
FzyHedge hedge)
Modifies the shape of a sets surface causing a change in the membership function |
double |
domainValue()
|
void |
domainValue(double sca)
|
double |
farEdge(FzySet fset)
Find the far edge of the plateau |
protected int[] |
findPlateau(FzySet fset)
Return the int array representing the left and right hand side of the plateau in the membership function. |
double |
getDomainForLeftEdge(FzySet fset)
find the left edge of the specified set. |
double |
getDomainValue()
Insert the method's description here. |
int |
getEdgeCnt()
Insert the method's description here. |
int[] |
getEdges()
Insert the method's description here. |
FzyKnowledgebase |
getKB()
|
int |
getLeftEdge()
Return the current left edge of set. |
double |
getMbrValue()
Insert the method's description here. |
int |
getRightEdge()
Return the right edge of the fuzzy set. |
double |
getScalarUsing(FzySet fset,
int inx)
|
protected void |
issueWarning(FzySet fset,
double height,
int pCount)
|
double |
monotonicSolution(FzySet fromSet,
FzySet toSet,
double fromDomValue)
Calculate a solution for a monotonic space. |
double |
OR(double truth_1,
double truth_2)
Implements the standard Zadeh OR operator. |
int |
plateauCount(FzySet fset,
double height)
|
void |
printOn(java.io.Writer outWriter,
int nTabs)
|
static FzyResolutionMethod |
ResolutionMethodFactory(java.lang.String name)
Resolution method factory Creation date: (1/26/00 12:17:44 PM) |
double |
resolveToScalar(FzySet aSet)
The method to be used for those who wish to defuzzify a given set. |
protected abstract double |
resolveUsing(FzySet aSet)
The method used by subclasses of FzyResolutionMethod to defuzzify a given set. |
void |
setDomainValue(double newDomainValue)
Insert the method's description here. |
void |
setEdgeCnt(int newEdgeCnt)
Insert the method's description here. |
void |
setEdges(int[] newEdges)
set the found edges of a set. |
void |
setKB(FzyKnowledgebase akb)
|
void |
setLeftEdge(int l)
Set the current left edge of set. |
void |
setMbrValue(double newMbrValue)
Insert the method's description here. |
void |
setRightEdge(int r)
Set the current Right edge of set. |
java.lang.String |
toString()
|
java.lang.StringBuffer |
toXML()
Represent this resolution method as xml tags. |
java.lang.StringBuffer |
toXML(int nTabs)
Represent this resolution method as xml tags. |
Methods inherited from class infosapient.system.FzySystemComponent |
addPropertyChangeListener,
addVetoableChangeListener,
equals,
getID,
getName,
getPropertyChangeSupport,
getVetoableChangeSupport,
hashCode,
removePropertyChangeListener,
removeVetoableChangeListener,
setID,
setName |
Methods inherited from class infosapient.system.ObservableImpl |
addObserver,
clearChanged,
containsObserver,
countObservers,
deleteObserver,
deleteObservers,
hasChanged,
notifyObservers,
notifyObservers,
setChanged |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final long serialVersionUID
static final java.lang.String PREFIX
protected int VECMAX
private int[] edges
private FzyKnowledgebase theKB
protected static final int LEFT
protected static final int RIGHT
protected int edgeCnt
protected double domainValue
protected double mbrValue
protected int indexForDefuzz
protected int i
Constructor Detail |
public FzyResolutionMethod()
Method Detail |
protected java.util.Vector _findPlateau(FzySet fset) throws FzySystemException
FzySet
- public void applyAlfa(FzySet fset, int type)
public FzySet applyHedge(FzySet inputSet, FzyHedge hedge)
FzySet
- the input setFzyHedge
- the FzyHedge to be appliedpublic double domainValue()
public void domainValue(double sca)
public double farEdge(FzySet fset)
FzySet
- - The (solutionset) set containing the plateau to find the edge(s)protected int[] findPlateau(FzySet fset) throws FzySystemException
FzySet
- public double getDomainForLeftEdge(FzySet fset)
FzySet
- - the fuzzy set to be examined for left and right edges.public double getDomainValue()
public int getEdgeCnt()
public int[] getEdges()
public FzyKnowledgebase getKB()
public int getLeftEdge()
public double getMbrValue()
public int getRightEdge()
public double getScalarUsing(FzySet fset, int inx) throws java.lang.IllegalArgumentException
protected void issueWarning(FzySet fset, double height, int pCount)
public double monotonicSolution(FzySet fromSet, FzySet toSet, double fromDomValue) throws FzySystemException
FzySet
- 'fromSet' -- the set the membership value is taken.FzySet
- 'toSet' the set to which the membership value from the first set is to be mapped.double
- the domain value for the 'fromSet'public double OR(double truth_1, double truth_2)
double
- the membership value_1double
- the membership value_2public int plateauCount(FzySet fset, double height)
public void printOn(java.io.Writer outWriter, int nTabs) throws java.io.IOException
public static FzyResolutionMethod ResolutionMethodFactory(java.lang.String name) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.ClassNotFoundException
name
- java.lang.Stringpublic double resolveToScalar(FzySet aSet)
FzySet
- the fuzzy set to defuzzify.protected abstract double resolveUsing(FzySet aSet)
FzySet
- the fuzzy set to defuzzify.public void setDomainValue(double newDomainValue)
newDomainValue
- doublepublic void setEdgeCnt(int newEdgeCnt)
newEdgeCnt
- intpublic void setEdges(int[] newEdges)
newEdges
- int[]public void setKB(FzyKnowledgebase akb)
public void setLeftEdge(int l)
public void setMbrValue(double newMbrValue)
newMbrValue
- doublepublic void setRightEdge(int r)
public java.lang.String toString()
public java.lang.StringBuffer toXML()
public java.lang.StringBuffer toXML(int nTabs)
|
License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |