|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuzzydl.milp.Inequation
public class Inequation
Inequation of the form: expression type 0. Example: c + c1 * x1 + c2 * x2 + ... >= 0.
| Field Summary | |
|---|---|
static int |
EQ
Equal sign (=). |
static int |
GE
Greater or equal sign (>=). |
static int |
LE
Less or equal sign (<=). |
| Constructor Summary | |
|---|---|
Inequation(Expression expr,
int type)
|
|
| Method Summary | |
|---|---|
double |
getConstant()
Gets the constant of the expression. |
static java.lang.String |
getMPSTypeCode(int type)
Gets a MPS representation of the type. |
java.util.List<Term> |
getTerms()
Gets the terms of the expression. |
int |
getType()
Gets the type of the inequality. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EQ
public static final int LE
public static final int GE
| Constructor Detail |
|---|
public Inequation(Expression expr,
int type)
| Method Detail |
|---|
public java.util.List<Term> getTerms()
public double getConstant()
public int getType()
public static java.lang.String getMPSTypeCode(int type)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||