| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectnet.sourceforge.combean.mathprog.lp.DoubleLPConstraint
public class DoubleLPConstraint
A linear constraint with representation based on plain Java doubles.
| Field Summary | 
|---|
| Fields inherited from interface net.sourceforge.combean.interfaces.mathprog.lp.LPConstraint | 
|---|
| REL_COUNT, REL_EQUAL, REL_GREATER, REL_LESS, REL_UNDEFINED | 
| Constructor Summary | |
|---|---|
| DoubleLPConstraint(byte relation,
                   double rhs)Constructor for an unnamed constraint | |
| DoubleLPConstraint(String name,
                   byte relation,
                   double rhs)Constructor of a named constraint | |
| Method Summary | |
|---|---|
|  String | getName() | 
|  byte | getRelation()Return relation symbol | 
|  double | getRhs()Get value of right-hand side. | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public DoubleLPConstraint(byte relation,
                          double rhs)
relation - the relationrhs - the right-hand side
public DoubleLPConstraint(String name,
                          byte relation,
                          double rhs)
name - the name of the constraintrelation - the relationrhs - the right-hand side| Method Detail | 
|---|
public byte getRelation()
LPConstraint
getRelation in interface LPConstraintpublic double getRhs()
LPConstraint
getRhs in interface LPConstraintpublic String getName()
getName in interface NamedObjectpublic String toString()
toString in class Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||