fuzzydl.milp
Class IntBound

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

public class IntBound
extends Bound

Bound for an integer variable with an upper bound.


Field Summary
 
Fields inherited from class fuzzydl.milp.Bound
type
 
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
 

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