fuzzydl.milp
Class BinaryBound

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

public class BinaryBound
extends Bound

Bound for a binary variable in {0,1}.


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

Constructor Detail

BinaryBound

public BinaryBound()
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.