fuzzydl.milp
Class Variable

java.lang.Object
  extended by fuzzydl.milp.Variable

public class Variable
extends java.lang.Object

Variable.


Constructor Summary
Variable(java.lang.String name, Bound bound)
          Constructor.
 
Method Summary
 Bound getBound()
          Gets the type of the variable.
 java.lang.String getName()
          Gets the name of the variable.
 double getSolutionValue()
          Gets the vulue of the variable.
 void setBound(Bound bound)
          Gets the name of the variable.
 void setSolutionValue(double value)
          Sets the vulue of the variable.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Variable

public Variable(java.lang.String name,
                Bound bound)
Constructor.

Parameters:
name - Name of the variable.
bound - Type of the variable.
Method Detail

getName

public java.lang.String getName()
Gets the name of the variable.

Returns:
Name of the variable

getBound

public Bound getBound()
Gets the type of the variable.

Returns:
Bound with the type of the variable

setBound

public void setBound(Bound bound)
Gets the name of the variable.

Parameters:
bound - Name of the variable

getSolutionValue

public double getSolutionValue()
Gets the vulue of the variable.

Returns:
Value of the variable

setSolutionValue

public void setSolutionValue(double value)
Sets the vulue of the variable.

Parameters:
value - Value of the variable

toString

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