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