fuzzydl.milp
Class UpperBound

java.lang.Object
  extended by fuzzydl.milp.Bound
      extended by fuzzydl.milp.UpperBound

public class UpperBound
extends Bound

Upper bound for a real variable.


Field Summary
 
Fields inherited from class fuzzydl.milp.Bound
type
 
Constructor Summary
UpperBound(double boundVal)
           
 
Method Summary
 double getBoundVal()
          Gets the value of the bound.
 Variable getNewVariable()
          Gets a new variable of the type of the bound.
 java.lang.String toString()
           
 
Methods inherited from class fuzzydl.milp.Bound
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpperBound

public UpperBound(double boundVal)
Method Detail

getNewVariable

public Variable getNewVariable()
Gets a new variable of the type of the bound.

Specified by:
getNewVariable in class Bound
Returns:
A new variable.

getBoundVal

public double getBoundVal()
Gets the value of the bound.

Specified by:
getBoundVal in class Bound
Returns:
Value of the bound.

toString

public java.lang.String toString()
Overrides:
toString in class Bound