Java.problem
Class InitialBound

java.lang.Object
  extended by Java.problem.InitialBound

public class InitialBound
extends java.lang.Object

Description of an initial bound

Since:
1.0

Constructor Summary
InitialBound()
           
 
Method Summary
 double getLowerBound()
          Get lower bound
 double getUpperBound()
          Get upper bound
 int read(java.lang.String[] commands, java.io.BufferedReader in, int line_no, int debug, java.util.Vector<Variable> variables, java.util.Vector<Experiment> experiments)
          Read range from input file in form of a buffered reader
 java.lang.String toString()
          Get string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitialBound

public InitialBound()
Method Detail

read

public int read(java.lang.String[] commands,
                java.io.BufferedReader in,
                int line_no,
                int debug,
                java.util.Vector<Variable> variables,
                java.util.Vector<Experiment> experiments)
Read range from input file in form of a buffered reader

Parameters:
commands - vector of strings on first line to read
in - buffered reader
line_no - current line in the buffered reader (i.e., problem file)
debug - debug level
variables - vector of variables
experiments - vector of experiments

getLowerBound

public double getLowerBound()
Get lower bound

Returns:
the bound

getUpperBound

public double getUpperBound()
Get upper bound

Returns:
the bound

toString

public java.lang.String toString()
Get string representation

Overrides:
toString in class java.lang.Object
Returns:
the string