DataPipe, DataPipeForked, DataSourceIndependent, IDataSink, IDataSourcepublic class AccumulatorAutocorrelationPTensor extends DataAccumulator implements DataSourceIndependent
| Modifier and Type | Field | Description |
|---|---|---|
protected DataGroup |
avgErrData |
|
protected DataGroup.DataInfoGroup |
avgErrDataInfo |
|
protected DataFork |
avgErrFork |
|
protected DataFunction |
data |
|
protected int |
dim |
|
protected double |
dt |
|
protected DataFunction |
errData |
|
protected DataFunction.DataInfoFunction |
errDataInfo |
|
protected DataTag |
errTag |
|
protected IDataInfo |
inputDataInfo |
|
protected int |
nBlocks |
|
protected int |
nMax |
|
protected IData |
product |
|
protected java.util.List<double[]> |
savedData |
|
protected IData |
sum |
|
protected DataDoubleArray |
tData |
|
protected DataDoubleArray.DataInfoDoubleArray |
tDataInfo |
|
protected DataTag |
tTag |
active, hasUnpushedData, pushInterval, putCountdataInfo, dataSink, tag| Constructor | Description |
|---|---|
AccumulatorAutocorrelationPTensor(int nMax,
double dt) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
addData(IData data) |
Defined by subclass to specify what this accumulator does when data is added to it.
|
DataFork |
getAvgErrFork() |
|
IData |
getData() |
|
int |
getIndependentArrayDimension() |
Returns the number of independent data dimensions
|
DataDoubleArray |
getIndependentData(int i) |
Returns the X data for the given dimension
|
DataDoubleArray.DataInfoDoubleArray |
getIndependentDataInfo(int i) |
Returns the DataInfo for the given dimension
|
DataTag |
getIndependentTag() |
Returns the tag associated with this DataSource.
|
int |
getNMax() |
|
protected IDataInfo |
processDataInfo(IDataInfo inputDataInfo) |
Informs this DataProcessor of the DataInfo for the Data it will be
processing.
|
void |
reset() |
Clear accumulated values.
|
void |
setNMax(int newNMax) |
getPushInterval, isActive, processData, setActive, setPushInterval, toStringgetDataInfo, getTag, putData, putDataInfoaddDataSink, getDataSink, getDataSinks, removeDataSink, setDataSink, setDataSinksputData, putDataInfogetDataInfo, getTagprotected DataFunction data
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected final DataTag tTag
protected final DataTag errTag
protected int nMax
protected IDataInfo inputDataInfo
protected final java.util.List<double[]> savedData
protected IData sum
protected IData product
protected int dim
protected final double dt
protected int nBlocks
protected DataFunction errData
protected DataFunction.DataInfoFunction errDataInfo
protected DataFork avgErrFork
protected DataGroup avgErrData
protected DataGroup.DataInfoGroup avgErrDataInfo
public AccumulatorAutocorrelationPTensor(int nMax,
double dt)
public void setNMax(int newNMax)
public int getNMax()
public DataFork getAvgErrFork()
protected boolean addData(IData data)
DataAccumulatoraddData in class DataAccumulatordata - the data to be processedpublic void reset()
DataAccumulatorreset in class DataAccumulatorpublic IData getData()
getData in interface IDataSourcegetData in class DataAccumulatorprotected IDataInfo processDataInfo(IDataInfo inputDataInfo)
DataProcessorprocessDataInfo in class DataProcessorinputDataInfo - the DataInfo of the Data that will be input to this
DataProcessorpublic DataDoubleArray getIndependentData(int i)
DataSourceIndependentgetIndependentData in interface DataSourceIndependentpublic DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependentgetIndependentDataInfo in interface DataSourceIndependentpublic int getIndependentArrayDimension()
DataSourceIndependentgetIndependentArrayDimension in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependentgetIndependentTag in interface DataSourceIndependent