public abstract class Modifier
extends java.lang.Object
Constructor and Description |
---|
Modifier(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
abstract double |
getMembershipDegree(double x)
Gets the image in [0,1] of a real number to the modifier.
|
abstract java.lang.String |
getName()
Gets the definition of the modifier.
|
abstract Concept |
modify(Concept c)
Modifies a fuzzy concept
|
void |
setName(java.lang.String name)
Gets the name of the modifier.
|
abstract void |
solveAssertion(Individual ind,
Concept con,
Degree degree,
KnowledgeBase kb)
Solves an assertion of the form (individual, concept, lower degree) with respect to a fuzzy KB.
|
void |
solveComplementAssertion(Individual ind,
Concept con,
Degree degree,
KnowledgeBase kb)
Solves an assertion of the form (individual, negated concept, lower degree) with respect to a fuzzy KB.
|
java.lang.String |
toString()
Gets the name of the modifier.
|
public void setName(java.lang.String name)
name
- Name of the modifier.public abstract Concept modify(Concept c)
c
- A fuzzy conceptpublic abstract double getMembershipDegree(double x)
x
- A real number in the range of values of the modifierfunction.public abstract void solveAssertion(Individual ind, Concept con, Degree degree, KnowledgeBase kb)
ind
- An individual.con
- A concept.degree
- Lower bound for the degree.kb
- A fuzzy KB.public void solveComplementAssertion(Individual ind, Concept con, Degree degree, KnowledgeBase kb)
ind
- An individual.con
- A concept.degree
- Lower bound for the degree.kb
- A fuzzy KB.public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.String getName()