|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuzzydl.Degree
fuzzydl.DegreeExpression
public class DegreeExpression
Degree defined using an expression.
| Constructor Summary | |
|---|---|
DegreeExpression(Expression expr)
|
|
| 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). |
Expression |
getExpression()
Gets the expression which defines the degree. |
double |
getSolutionValue()
Gets a numerical value of the solution. |
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 |
| Constructor Detail |
|---|
public DegreeExpression(Expression expr)
| Method Detail |
|---|
public Expression getExpression()
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 | |||||||||