|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuzzydl.Degree
fuzzydl.DegreeVariable
public class DegreeVariable
Degree defined using a variable.
| Method Summary | |
|---|---|
Expression |
addToExpression(Expression expr)
Adds the degree to an expression. |
Inequation |
createInequalityWithDegreeRHS(Expression expr,
int inequationType)
Gets an inequality of the form (expression, type, degree). |
double |
getSolutionValue()
Gets a numerical value of the solution. |
Variable |
getVariable()
Gets the variable which defines the degree. |
boolean |
isNumeric()
Checks if the object is a numeric degree. |
Expression |
multiplyConstant(java.lang.Double constant)
Multiplies the degree and a real number. |
Expression |
subtractFromExpression(Expression expr)
Subtracts the degree to an expression. |
java.lang.String |
toString()
|
| Methods inherited from class fuzzydl.Degree |
|---|
getDegree, getDegree, getDegree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Variable getVariable()
public Inequation createInequalityWithDegreeRHS(Expression expr,
int inequationType)
Degree
createInequalityWithDegreeRHS in class Degreeexpr - An expression.inequationType - A type of inequality.
public java.lang.String toString()
toString in class java.lang.Objectpublic double getSolutionValue()
Degree
getSolutionValue in class Degreepublic boolean isNumeric()
Degree
isNumeric in class Degreepublic Expression addToExpression(Expression expr)
Degree
addToExpression in class Degreeexpr - An expression.
public Expression subtractFromExpression(Expression expr)
Degree
subtractFromExpression in class Degreeexpr - An expression.
public Expression multiplyConstant(java.lang.Double constant)
Degree
multiplyConstant in class Degreeconstant - A real number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||