|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.misc.FLR.FuzzyLattice
Fuzzy Lattice implementation in WEKA
Field Summary | |
private int |
categ
|
private java.lang.String |
className
|
private double[] |
max
|
private double[] |
min
|
Constructor Summary | |
FLR.FuzzyLattice(Instance dR,
FLR.FuzzyLattice bounds)
Constructs a Fuzzy Lattice from a instance |
|
FLR.FuzzyLattice(int length)
Constructs an empty Fuzzy Lattice of a specific dimension pointing in Class "Metric Space" (-1) |
|
FLR.FuzzyLattice(java.lang.String rule)
Converts a String to a Fuzzy Lattice pointing in Class "Metric Space" (-1) Note that the input String should be compatible with the toString() method. |
Method Summary | |
int |
getCateg()
|
java.lang.String |
getClassName()
|
double |
getMax(int i)
|
double |
getMin(int i)
|
FLR.FuzzyLattice |
join(FLR.FuzzyLattice lattice)
Implements the Join Function |
int |
length()
Calcualtes the length of the FuzzyLattice |
void |
setCateg(int i)
|
void |
setClassName(java.lang.String s)
|
void |
setMax(int i,
double val)
|
void |
setMin(int i,
double val)
|
java.lang.String |
toString()
Returns a description of the Fuzzy Lattice |
double |
valuation(FLR.FuzzyLattice bounds)
Calculates the valuation function of the FuzzyLattice |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private double[] min
private double[] max
private int categ
private java.lang.String className
Constructor Detail |
public FLR.FuzzyLattice(Instance dR, FLR.FuzzyLattice bounds)
dR
- the instancebounds
- the boundaries filepublic FLR.FuzzyLattice(int length)
length
- the dimention of the Latticepublic FLR.FuzzyLattice(java.lang.String rule)
rule
- the input String.Method Detail |
public double valuation(FLR.FuzzyLattice bounds)
bounds
- corresponding boundaries
public int length()
public FLR.FuzzyLattice join(FLR.FuzzyLattice lattice)
lattice
- the second fuzzy lattice
public int getCateg()
public void setCateg(int i)
public java.lang.String getClassName()
public void setClassName(java.lang.String s)
public double getMin(int i)
public double getMax(int i)
public void setMin(int i, double val)
public void setMax(int i, double val)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |