|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJava.problem.Experiment
public class Experiment
Description of an experiment
Constructor Summary | |
---|---|
Experiment(int N_VARIABLES,
int line_no)
Constricts an experiment |
Method Summary | |
---|---|
void |
addInitialBound(InitialBound ib,
Variable v)
Add initial bound |
void |
addSample(Sample s)
Add one sample |
double |
getLowerInitialBound(int ivar)
Get lower initial bound for variable i |
double |
getMaxTime()
Get the max time point over all samples |
double |
getMaxValue()
Get the max data value over all samples |
double |
getMaxValue(int ivar)
Get the max data value over all samples for variable i |
double |
getMinTime()
Get the min time point over all samples |
double |
getMinValue()
Get the min data value over all samples |
double |
getMinValue(int ivar)
Get the min data value over all samples for variable i |
int |
getNumberOfSamples()
Get the number of samples |
Sample |
getSample(int i)
Get sample i |
double[] |
getSdevArray(int ivar)
Get data standard deviations for variable i |
double[] |
getTimeArray()
Get time-points |
double |
getUpperInitialBound(int ivar)
Get upper initial bound for variable i |
double[] |
getValueArray(int ivar)
Get data values for variable i |
boolean |
hasPerfectData()
Indication if data is perfect |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Experiment(int N_VARIABLES, int line_no)
N_VARIABLES
- number of variablesline_no
- current line in the buffered reader (i.e., problem file)Method 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 java.lang.String toString()
toString
in class java.lang.Object
public double[] getTimeArray()
public double[] getValueArray(int ivar)
ivar
- the variable i
public double[] getSdevArray(int ivar)
ivar
- the variable i
public double getMaxValue()
public double getMinValue()
public double getMaxValue(int ivar)
ivar
- the variable i
public double getMinValue(int ivar)
ivar
- the variable i
public double getMaxTime()
public double getMinTime()
public void addSample(Sample s)
s
- the samplepublic Sample getSample(int i)
i
- index of the sample
public int getNumberOfSamples()
public boolean hasPerfectData()
public void addInitialBound(InitialBound ib, Variable v)
ib
- the initial boundv
- variable to add initial bound topublic double getLowerInitialBound(int ivar)
ivar
- the variable index
public double getUpperInitialBound(int ivar)
ivar
- the variable index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |