|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.random.EmpiricalDistributionImpl.DataAdapter
org.apache.commons.math.random.EmpiricalDistributionImpl.StreamDataAdapter
private class EmpiricalDistributionImpl.StreamDataAdapter
DataAdapter for data provided through some input stream
| Field Summary | |
|---|---|
private java.io.BufferedReader |
inputStream
Input stream providng access to the data |
| Constructor Summary | |
|---|---|
EmpiricalDistributionImpl.StreamDataAdapter(java.io.BufferedReader in)
Create a StreamDataAdapter from a BufferedReader |
|
| Method Summary | |
|---|---|
void |
computeBinStats(double min,
double delta)
Computes binStats |
void |
computeStats()
Computes sampleStats |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.io.BufferedReader inputStream
| Constructor Detail |
|---|
public EmpiricalDistributionImpl.StreamDataAdapter(java.io.BufferedReader in)
in - BufferedReader input stream| Method Detail |
|---|
public void computeBinStats(double min,
double delta)
throws java.io.IOException
computeBinStats in class EmpiricalDistributionImpl.DataAdaptermin - minimum valuedelta - grid size
java.io.IOException - if an IO error occurs
public void computeStats()
throws java.io.IOException
computeStats in class EmpiricalDistributionImpl.DataAdapterjava.io.IOException - if an IOError occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||