|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJava.problem.Sample
public class Sample
Description of a sample:
Vector of data-points (values) and standard deviations (sdevs) for each variable at time-point time.
isAvailable is false if data-point is missing.
Constructor Summary | |
---|---|
Sample()
|
Method Summary | |
---|---|
double |
getSdev(int ivar)
Get standard deviation of the sample for variable i |
double |
getTime()
Get time-point of the sample |
double |
getValue(int ivar)
Get value of the sample for variable i |
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 sample 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 Sample()
Method Detail |
---|
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)
commands
- vector of strings on first line to readin
- buffered readerline_no
- current line in the buffered reader (i.e., problem file)debug
- debug levelvariables
- vector of variablesexperiments
- vector of experimentspublic java.lang.String toString()
toString
in class java.lang.Object
public double getTime()
public double getValue(int ivar)
public double getSdev(int ivar)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |