DataSourceIndependent
, IDataSource
, ConfigurationStorage.ConfigurationStorageListener
public class MeterCorrelationSelf extends java.lang.Object implements ConfigurationStorage.ConfigurationStorageListener, IDataSource, DataSourceIndependent
Modifier and Type | Class | Description |
---|---|---|
static class |
MeterCorrelationSelf.CorrelationType |
Modifier and Type | Field | Description |
---|---|---|
protected ConfigurationStorage |
configStorage |
|
protected MeterCorrelationSelf.CorrelationType |
correlationType |
|
protected double[] |
corSum |
|
protected DataFunction |
data |
|
protected Vector |
dr01 |
|
protected Vector |
dr12 |
|
protected double[] |
dr1Sum |
|
protected double[] |
dr2Sum |
|
protected double[] |
dr3Sum |
|
protected int |
minInterval |
|
protected long[] |
nSamples |
|
protected DataTag |
tag |
|
protected DataDoubleArray |
tData |
|
protected DataDoubleArray.DataInfoDoubleArray |
tDataInfo |
|
protected DataTag |
tTag |
|
protected AtomType |
type |
Constructor | Description |
---|---|
MeterCorrelationSelf(ConfigurationStorage configStorage) |
|
MeterCorrelationSelf(ConfigurationStorage configStorage,
MeterCorrelationSelf.CorrelationType cType) |
Modifier and Type | Method | Description |
---|---|---|
IData |
getData() |
Returns the RDF, averaged over the calls to actionPerformed since the
meter was reset or had some parameter changed (xMax or # of bins).
|
IDataInfo |
getDataInfo() |
|
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.
|
DataTag |
getTag() |
|
void |
newConfigruation() |
|
void |
reset() |
|
void |
setAtomType(AtomType type) |
protected MeterCorrelationSelf.CorrelationType correlationType
protected final ConfigurationStorage configStorage
protected final DataTag tag
protected final DataTag tTag
protected final Vector dr01
protected final Vector dr12
protected double[] corSum
protected long[] nSamples
protected DataFunction data
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected AtomType type
protected double[] dr1Sum
protected double[] dr2Sum
protected double[] dr3Sum
protected int minInterval
public MeterCorrelationSelf(ConfigurationStorage configStorage)
public MeterCorrelationSelf(ConfigurationStorage configStorage, MeterCorrelationSelf.CorrelationType cType)
public void reset()
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public void setAtomType(AtomType type)
public IData getData()
getData
in interface IDataSource
public DataDoubleArray getIndependentData(int i)
DataSourceIndependent
getIndependentData
in interface DataSourceIndependent
public DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependent
getIndependentDataInfo
in interface DataSourceIndependent
public int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent
public DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
in interface DataSourceIndependent
public void newConfigruation()
newConfigruation
in interface ConfigurationStorage.ConfigurationStorageListener