|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJava.problem.Range
public class Range
Description of a range with lower and upper bounds, and an initial guess
Constructor Summary | |
---|---|
Range()
|
|
Range(double lb,
double ub)
|
|
Range(double lb,
double ub,
double ig)
|
Method Summary | |
---|---|
double |
getInitialGuess()
Get initial guess, a value taken from the range |
double |
getLowerBound()
Get lower bound of the range |
double |
getUpperBound()
Get upper bound of the range |
int |
read(java.lang.String[] commands,
java.io.BufferedReader in,
int line_no,
int debug)
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 |
---|
public Range()
public Range(double lb, double ub)
lb
- lower boundub
- upper boundpublic Range(double lb, double ub, double ig)
lb
- lower boundub
- upper boundig
- initial guesssMethod Detail |
---|
public int read(java.lang.String[] commands, java.io.BufferedReader in, int line_no, int debug)
commands
- vector of strings on first line to readin
- buffered readerline_no
- current line in the buffered reader (i.e., problem file)debug
- debug levelpublic double getLowerBound()
public double getUpperBound()
public double getInitialGuess()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |