|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuzzydl.Concept
fuzzydl.FuzzyConcreteConcept
fuzzydl.TriangularConcreteConcept
public class TriangularConcreteConcept
Fuzzy concrete concept defined with a triangular function.
| Field Summary | |
|---|---|
protected double |
a
Parameters of the funcion |
protected double |
b
Parameters of the funcion |
protected double |
c
Parameters of the funcion |
| Fields inherited from class fuzzydl.FuzzyConcreteConcept |
|---|
k1, k2 |
| Constructor Summary | |
|---|---|
TriangularConcreteConcept(java.lang.String name,
double k1,
double k2,
double a,
double b,
double c)
|
|
TriangularConcreteConcept(java.lang.String name,
int type,
double k1,
double k2,
double a,
double b,
double c)
|
|
| Method Summary | |
|---|---|
Concept |
complement()
Gets the complement of the concept. |
double |
getA()
Gets parameter a of the triangular function. |
double |
getB()
Gets parameter b of the triangular function. |
double |
getC()
Gets parameter c of the triangular function. |
double |
getMembershipDegree(double x)
Gets the image in [0,1] of a real number to the explicit membership function. |
void |
solveAssertion(Individual ind,
Degree lowerLimit,
KnowledgeBase kb)
Solves an assertion of the form (individual, concept, degree) with respect to a fuzzy KB. |
void |
solveComplementAssertion(Individual ind,
Degree lowerLimit,
KnowledgeBase kb)
Solves an assertion of the form (individual, complement of the concept, degree) with respect to a fuzzy KB. |
java.lang.String |
toString()
|
| 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 |
|---|
protected double a
protected double b
protected double c
| Constructor Detail |
|---|
public TriangularConcreteConcept(java.lang.String name,
double k1,
double k2,
double a,
double b,
double c)
throws FuzzyOntologyException
FuzzyOntologyException
public TriangularConcreteConcept(java.lang.String name,
int type,
double k1,
double k2,
double a,
double b,
double c)
throws FuzzyOntologyException
FuzzyOntologyException| Method Detail |
|---|
public double getA()
public double getB()
public double getC()
public Concept complement()
FuzzyConcreteConcept
complement in class FuzzyConcreteConcept
public void solveAssertion(Individual ind,
Degree lowerLimit,
KnowledgeBase kb)
FuzzyConcreteConcept
solveAssertion in class FuzzyConcreteConceptind - Subject of the assertion.lowerLimit - Lower bound of the assertion.kb - Fuzzy KB.
public void solveComplementAssertion(Individual ind,
Degree lowerLimit,
KnowledgeBase kb)
FuzzyConcreteConcept
solveComplementAssertion in class FuzzyConcreteConceptind - Subject of the assertion.lowerLimit - Lower bound of the assertion.kb - Fuzzy KB.public double getMembershipDegree(double x)
FuzzyConcreteConcept
getMembershipDegree in class FuzzyConcreteConceptx - A real number in the range of values of the explicit membership function.
public java.lang.String toString()
toString in class Concept
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||