|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuzzydl.Concept
fuzzydl.FuzzyConcreteConcept
fuzzydl.TriangularConcreteConcept
fuzzydl.TriangularFuzzyNumber
public class TriangularFuzzyNumber
Fuzzy number defined with a triangular function.
| Field Summary | |
|---|---|
static double |
K1
Lower bound of the range of the fuzzy numbers. |
static double |
K2
Upper bound of the range of the fuzzy numbers. |
| Fields inherited from class fuzzydl.TriangularConcreteConcept |
|---|
a, b, c |
| Fields inherited from class fuzzydl.FuzzyConcreteConcept |
|---|
k1, k2 |
| Constructor Summary | |
|---|---|
TriangularFuzzyNumber(double a,
double b,
double c)
|
|
TriangularFuzzyNumber(java.lang.String name,
double a,
double b,
double c)
|
|
TriangularFuzzyNumber(java.lang.String name,
int type,
double a,
double b,
double c)
|
|
| Method Summary | |
|---|---|
static TriangularFuzzyNumber |
add(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
Adds two triangular fuzzy numbers. |
Concept |
complement()
Gets the complement of the concept. |
static TriangularFuzzyNumber |
dividedBy(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
Divides two triangular fuzzy numbers. |
boolean |
equals(TriangularFuzzyNumber t)
Indicates whether some other fuzzy number is "equal to" this one. |
double |
getBestNonFuzzyPerformance()
Gets the Best Non fuzzy Performance (BNP) of the fuzzy number. |
static boolean |
hasDefinedRange()
Checks if the range of the fuzzy numbers has been defined. |
static TriangularFuzzyNumber |
minus(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
Subtracts two triangular fuzzy numbers. |
static void |
setRange(double minRange,
double maxRange)
Sets the range of the fuzzy numbers. |
static TriangularFuzzyNumber |
times(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
Multiplies two triangular fuzzy numbers. |
java.lang.String |
toString()
|
| Methods inherited from class fuzzydl.TriangularConcreteConcept |
|---|
getA, getB, getC, getMembershipDegree, solveAssertion, solveComplementAssertion |
| Methods inherited from class fuzzydl.FuzzyConcreteConcept |
|---|
setK1, setK2 |
| Methods inherited from class fuzzydl.Concept |
|---|
all, and, and, atLeastValue, atMostValue, complement, exactValue, extendedNegThreshold, extendedPosThreshold, g_and, g_and, g_and, g_implies, g_or, g_or, getAtomicConcepts, getFuzzydlName, getName, getRole, getType, getValue, getWeight, getWeightVar, isConcrete, kd_implies, l_and, l_and, l_implies, l_or, l_or, looseLowerApprox, looseUpperApprox, lowerApprox, negThreshold, newAtomicConcept, or, or, posThreshold, self, setName, setType, setValue, some, tightLowerApprox, tightUpperApprox, upperApprox, weightedConcept, z_implies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static double K1
public static double K2
| Constructor Detail |
|---|
public TriangularFuzzyNumber(java.lang.String name,
int type,
double a,
double b,
double c)
throws FuzzyOntologyException
FuzzyOntologyException
public TriangularFuzzyNumber(java.lang.String name,
double a,
double b,
double c)
throws FuzzyOntologyException
FuzzyOntologyException
public TriangularFuzzyNumber(double a,
double b,
double c)
throws FuzzyOntologyException
FuzzyOntologyException| Method Detail |
|---|
public static TriangularFuzzyNumber add(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
throws FuzzyOntologyException
t1 - A triangular fuzzy numbers.t2 - Another triangular fuzzy numbers.
FuzzyOntologyException
public static TriangularFuzzyNumber minus(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
throws FuzzyOntologyException
t1 - Subject of the subtraction.t2 - Object of the subtraction.
FuzzyOntologyException
public static TriangularFuzzyNumber times(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
throws FuzzyOntologyException
t1 - A triangular fuzzy numbers.t2 - Another triangular fuzzy numbers.
FuzzyOntologyException
public static TriangularFuzzyNumber dividedBy(TriangularFuzzyNumber t1,
TriangularFuzzyNumber t2)
throws FuzzyOntologyException
t1 - Subject of the division.t2 - Object of the division.
FuzzyOntologyExceptionpublic static boolean hasDefinedRange()
public static void setRange(double minRange,
double maxRange)
minRange - Lower bound of the range.maxRange - Upper bound of the range.public double getBestNonFuzzyPerformance()
public boolean equals(TriangularFuzzyNumber t)
t - The reference object with which to compare.
public Concept complement()
FuzzyConcreteConcept
complement in class TriangularConcreteConceptpublic java.lang.String toString()
toString in class TriangularConcreteConcept
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||