net.sourceforge.combean.interfaces.mathprog.lp
Interface LPConstraint

Package class diagram package LPConstraint
All Superinterfaces:
NamedObject
All Known Implementing Classes:
DoubleLPConstraint

public interface LPConstraint
extends NamedObject

The right-hand side of a linear constraint, consisting of a relation (less, less equal, greater etc.) and a value.


Field Summary
static byte REL_COUNT
           
static byte REL_EQUAL
           
static byte REL_GREATER
           
static byte REL_LESS
           
static byte REL_UNDEFINED
           
 
Method Summary
 byte getRelation()
          Return relation symbol
 double getRhs()
          Get value of right-hand side.
 
Methods inherited from interface net.sourceforge.combean.interfaces.base.NamedObject
getName
 

Field Detail

REL_UNDEFINED

static final byte REL_UNDEFINED
See Also:
Constant Field Values

REL_EQUAL

static final byte REL_EQUAL
See Also:
Constant Field Values

REL_GREATER

static final byte REL_GREATER
See Also:
Constant Field Values

REL_LESS

static final byte REL_LESS
See Also:
Constant Field Values

REL_COUNT

static final byte REL_COUNT
See Also:
Constant Field Values
Method Detail

getRelation

byte getRelation()
Return relation symbol

Returns:
code for relation symbol

getRhs

double getRhs()
Get value of right-hand side.

Returns:
value of right-hand side.