|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mhhe.clrs2e.DifferenceConstraints.Constraint
Inner class for an individual constraint.
Field Summary | |
double |
b
Value of bk. |
int |
i
Index of the variable xi in the constraint. |
int |
j
Index of the variable xj in the constraint. |
Constructor Summary | |
DifferenceConstraints.Constraint(int j,
int i,
double b)
Sets the values of the instance variables. |
Method Summary | |
java.lang.String |
toString()
Returns the String representation of this
difference constraint. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int j
public int i
public double b
Constructor Detail |
public DifferenceConstraints.Constraint(int j, int i, double b)
j
- Index for the variable xj.i
- Index for the variable xi.b
- Value of bk.Method Detail |
public java.lang.String toString()
String
representation of this
difference constraint.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |