|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract interface to constraints.
Field Summary | |
static byte |
EQUAL
The row must be equal to the right hand side. |
static byte |
FREE
The constraint is free. |
static byte |
GREATER
The row must be greater than or equal to the right hand side. |
static byte |
LESS
The row must be less than or equal to the right hand side. |
static byte |
RANGE
The constraint must fall within a range. |
Method Summary | |
double |
getLowerRange()
Returns the lower range. |
java.lang.String |
getName()
Returns the name of the constraint. |
double |
getRightHandSide()
Returns the right-hand-side. |
int |
getRowIndex()
Returns the row index of the constraint. |
byte |
getType()
Returns the constraint type. |
double |
getUpperRange()
Returns the upper range. |
ConstraintI |
setLowerRange(double scaler)
Sets the lower range. |
ConstraintI |
setRightHandSide(double scaler)
Sets the right-hand-side. |
ConstraintI |
setType(byte type)
Sets the constraint type. |
ConstraintI |
setUpperRange(double scaler)
Sets the upper range. |
Field Detail |
public static final byte FREE
public static final byte LESS
public static final byte GREATER
public static final byte EQUAL
public static final byte RANGE
Method Detail |
public java.lang.String getName()
public int getRowIndex()
public ConstraintI setType(byte type)
public byte getType()
public ConstraintI setRightHandSide(double scaler)
public double getRightHandSide()
public ConstraintI setUpperRange(double scaler)
public double getUpperRange()
public ConstraintI setLowerRange(double scaler)
public double getLowerRange()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |