public class TriangularFuzzyNumber extends TriangularConcreteConcept
ALL, AND, AT_LEAST_VALUE, AT_MOST_VALUE, ATOMIC, BOTTOM, CHOQUET_INTEGRAL, COMPLEMENT, CONCEPT_BOTTOM, CONCEPT_TOP, CONCRETE, CONCRETE_COMPLEMENT, EXACT_VALUE, EXT_NEG_THRESHOLD, EXT_POS_THRESHOLD, FUZZY_NUMBER, FUZZY_NUMBER_COMPLEMENT, G_AND, G_IMPLIES, G_OR, L_AND, L_OR, LOOSE_LOWER_APPROX, LOOSE_UPPER_APPROX, LOWER_APPROX, MODIFIED, MODIFIED_COMPLEMENT, NEG_THRESHOLD, NOT_AT_LEAST_VALUE, NOT_AT_MOST_VALUE, NOT_CHOQUET_INTEGRAL, NOT_EXACT_VALUE, NOT_EXT_NEG_THRESHOLD, NOT_EXT_POS_THRESHOLD, NOT_G_IMPLIES, NOT_NEG_THRESHOLD, NOT_OWA, NOT_POS_THRESHOLD, NOT_QUANTIFIED_OWA, NOT_QUASI_SUGENO_INTEGRAL, NOT_SUGENO_INTEGRAL, NOT_W_MAX, NOT_W_MIN, NOT_W_SUM, NOT_W_SUM_ZERO, NOT_WEIGHTED, OR, OWA, POS_THRESHOLD, QUANTIFIED_OWA, QUASI_SUGENO_INTEGRAL, SELF, SOME, SUGENO_INTEGRAL, TIGHT_LOWER_APPROX, TIGHT_UPPER_APPROX, TOP, UPPER_APPROX, W_MAX, W_MIN, W_SUM, W_SUM_ZERO, WEIGHTED
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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()
Gets a printable name of the concept.
|
getA, getB, getC, getMembershipDegree, getName, solveAssertion
setK1, setK2, solveComplementAssertion
all, and, and, atLeastValue, atMostValue, complement, exactValue, extendedNegThreshold, extendedPosThreshold, gAnd, gAnd, getRole, getType, getValue, getWeight, getWeightVar, gImplies, gOr, gOr, isAtomic, isComplementedAtomic, isConcrete, kdImplies, lAnd, lAnd, lImplies, looseLowerApprox, looseUpperApprox, lOr, lOr, lowerApprox, nAry, negThreshold, newAtomicConcept, or, or, posThreshold, self, setName, setType, setValue, some, tightLowerApprox, tightUpperApprox, upperApprox, weightedConcept, zImplies
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
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.FuzzyOntologyException
public 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 TriangularConcreteConcept
public java.lang.String toString()
Concept
toString
in class FuzzyConcreteConcept