DataSourceIndependent
, IDataSource
, ConfigurationStorage.ConfigurationStorageListener
public class DataSourceFs extends java.lang.Object implements IDataSource, ConfigurationStorage.ConfigurationStorageListener, DataSourceIndependent
Modifier and Type | Field | Description |
---|---|---|
protected ConfigurationStorage |
configStorage |
|
protected DataFunction |
data |
|
protected DataFunction.DataInfoFunction |
dataInfo |
|
protected Vector |
dr |
|
protected double[] |
fsSum |
|
protected int |
minInterval |
|
protected long[] |
nSamples |
|
protected Vector |
q |
|
protected DataTag |
tag |
|
protected DataDoubleArray |
tData |
|
protected DataDoubleArray.DataInfoDoubleArray |
tDataInfo |
|
protected DataTag |
tTag |
|
protected AtomType |
type |
Constructor | Description |
---|---|
DataSourceFs(ConfigurationStorage configStorage) |
Modifier and Type | Method | Description |
---|---|---|
IData |
getData() |
|
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.
|
Vector |
getQ() |
|
DataTag |
getTag() |
|
void |
newConfigruation() |
|
void |
reallocate(int n) |
|
void |
reset() |
|
void |
setAtomType(AtomType type) |
|
void |
setQ(Vector q) |
protected final ConfigurationStorage configStorage
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected DataFunction data
protected DataFunction.DataInfoFunction dataInfo
protected double[] fsSum
protected final DataTag tTag
protected final DataTag tag
protected long[] nSamples
protected Vector dr
protected Vector q
protected AtomType type
protected int minInterval
public DataSourceFs(ConfigurationStorage configStorage)
public void setQ(Vector q)
public Vector getQ()
public void reset()
public void reallocate(int n)
public IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public void setAtomType(AtomType type)
public void newConfigruation()
newConfigruation
in interface ConfigurationStorage.ConfigurationStorageListener
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